string
Utilities for working with strings
append<value>
Function that concatenates a parameter with an input strings, if they are strings.
Example input:
"bob"
Example patterns:
pattern a = string::append<".json">
pattern b = string::prepend<"my:">
contains<substring>
Function that returns true if the string contains the specified substring.
pattern contains_people = string::contains<"people">
Example input:
"Some people like coffee."
length
Function that produces the length of an input string, if it is a string.
Example input:
"bob"