Up |
strfindAnyChar
Return the first found character position in the string from a pattern.
Prototype :
fun [S S I] [I S]
- S : any string
- S : a sub-string to search
- I : a position to begin
Return : a position and the Scol character
Example :
_fooS sprintf "position : %d char : %s" strfindAnyChar "ouagadougou" "gud" 0;
>>>> position : 1 char : u