Extracted from Pike v7.6 release 61 at 2005-12-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.