Extracted from Pike v7.6 release 112 at 2008-06-25.
pike.ida.liu.se
[Top]

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.