StrContainsChar
Description
Linear scan over the characters of str for one that compares equal to *chr_ptr under compare. Useful for “does this string contain digit X / delimiter Y” predicates without committing to a position.
Parameters
| Name | Direction | Description |
|---|---|---|
str |
in | String to search. |
chr_ptr |
in | Pointer to the character value to search for. |
compare |
in | Comparator returning 0 for equality. |
Success
Returns true when at least one character in str matches.
Failure
Returns false when no character matches.
Usage example (Cross-references)
Usage examples (Cross-references)
No external code usages found in the scanned files.
Last updated on