Method has_prefix()
- Method has_prefix
int has_prefix(string|object s, string prefix)
- Description
Returns
1
if the string s starts with prefix, returns0
(zero) otherwise.When s is an object, it needs to implement lfun::_sizeof() and lfun::`[].
- See also