Extracted from Pike v7.6 release 13 at 2004-11-30.
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.