Scalar FunctionsString Functions
hasprefix_cs
Indicate whether a string starts with a word prefix (case-sensitive, word boundary matching).
Syntax
text hasprefix_cs lookupNegated form:
text !hasprefix_cs lookupFunction call syntax:
hasprefix_cs(text, lookup)Parameters
Prop
Type
Returns: bool
Examples
Example 1
print "Longship fleet approaching" hasprefix_cs "Long"| print_0 (bool) |
|---|
| true |