Extracted from Pike v7.4 release 341 at 2005-11-30.
pike.ida.liu.se
[Top]
predef::

Method has_prefix()


Method has_prefix

int has_prefix(string s, string prefix)

Description

Returns 1 if the string s starts with prefix , returns 0 (zero) otherwise.