Fix 'strspn' function.