Chapter 18. A collection of standard string functions
Table of Contents
- strlen —
Returns the length of a string.
- substr —
Returns a substring.
- stringat —
Returns the char at a given position in the string.
- isinstr —
Returns whether a string is a substring of another string.
- text_str —
Escape any non-printable chars in a string.
- text_strn —
Escape any non-printable chars in a string.
- tokenize —
Return the next non-empty token in a string.
- str_replace —
str_replace Replaces all instances of a substring with another.
- strtol —
strtol - Convert a string to a long.
Functions to get the length, a substring, getting at individual
characters, string seaching, escaping, tokenizing, and converting
strings to longs.