strchr

Searches forward for a character within a string starting at the beginning of an array.

Syntax

strchr(string, char, )

Argument

string
The string to search.
char
The character to search for.

Example

Templex Expression Results
{s = "The quick brown fox jumped over the lazy dog."

i = strchr(s, "x")mid(s, i + 2, 24)}

jumped over the lazy dog

Comments

Only the first match in the string is recognized; all others are ignored.