Module string_methods

Module string_methods 

Source

Structs§

ChrFunction
CHR function - Convert ASCII code to character
ContainsMethod
Contains method function (returns boolean)
EditDistanceFunction
Edit distance (Levenshtein distance) function
EndsWithMethod
EndsWith method function
FrequencyFunction
FREQUENCY function - Count occurrences of a substring in a string
IndexOfMethod
IndexOf method function - finds the position of a substring
InstrFunction
INSTR function - SQL standard function for finding substring position Returns 1-based position for SQL compatibility
LeftFunction
LEFT function - extracts leftmost n characters or up to a delimiter
LengthMethod
Length method function (returns integer)
LoremIpsumFunction
LOREM_IPSUM function - generates Lorem Ipsum placeholder text
LowerFunction
LOWER function - Convert string to lowercase
MidFunction
MID function - Extract substring (SQL/Excel compatible, 1-based indexing)
ReplaceMethod
Replace method function
RightFunction
RIGHT function - extracts rightmost n characters
SplitPartFunction
SPLIT_PART - returns the nth part of a string split by delimiter (1-based)
StartsWithMethod
StartsWith method function
SubstringAfterFunction
SUBSTRING_AFTER - returns substring after first/nth occurrence of delimiter
SubstringBeforeFunction
SUBSTRING_BEFORE - returns substring before first/nth occurrence of delimiter
SubstringMethod
Substring method function
TextJoinFunction
TEXTJOIN function - Join multiple text values with a delimiter
ToLowerMethod
ToLower method function
ToUpperMethod
ToUpper method function
TrimEndMethod
TrimEnd method function
TrimFunction
TRIM function - Remove leading and trailing whitespace
TrimMethod
Trim method function
TrimStartMethod
TrimStart method function
UpperFunction
UPPER function - Convert string to uppercase

Traits§

MethodFunction
Trait for method-style functions that operate on a column/value These are called with dot notation: column.Method(args)

Functions§

register_string_methods
Register all string method functions