Next: Arithmetic, Previous: Diversions, Up: Top [Contents][Index]
There are a number of builtins in m4
for manipulating text in
various ways, extracting substrings, searching, substituting, and so on.
• Len | Calculating length of strings | |
• Index macro | Searching for substrings | |
• Regexp | Searching for regular expressions | |
• Substr | Extracting substrings | |
• Translit | Translating characters | |
• Patsubst | Substituting text by regular expression | |
• Format | Formatting strings (printf-like) |