span
span(s1, s2)
This function is like the C function strspn and returns the length of the initial substring of the string s1 containing only characters in the string s2. Returns 0 if no characters in s2 match.
Est-ce que cela a été utile ?