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