prefixof()
True if the string s
begins with the string begins_with
. An empty string is not considered a prefix.
Returns false otherwise.
Format
BOOL
prefixof(STRING s, STRING begins_with)
Examples
1
set req.http.X-ps = std.prefixof("greenhouse", "green");