Module string

Module string 

Source
Expand description

Functions to manipulate Value::String variables.

Functions§

chr
Converts a Value::Number into a Value::String containing a single ASCII character.
functions
Returns all string functions as a fixed size array.
lowercase
Converts a Value::String to lowercase.
ord
Converts a single character Value::String into a Value::Number containing it’s ordinal value.
same_text
Compares two Value::String by text content.
split
Splits a Value::String into a Value::Array according to a separator.
split_csv
Splits a csv Value::String into a Value::Array.
trim
Trims the whitespace of a Value::String on both sides.
trim_left
Trims the whitespace of a Value::String on the left side of the String.
trim_right
Trims the whitespace of a Value::String on the right side of the String.
uppercase
Converts a Value::String to uppercase.