Utility Functions
String Functions
Type Conversion
str(value) # Convert to string
int(value) # Convert to integer
float(value) # Convert to float
str_to_bool(s) # "true"/"1"/"yes" → True, everything else → FalseString Methods
lower(s) # str.lower — "ABC" → "abc"
upper(s) # str.upper — "abc" → "ABC"
split(s, sep) # str.split — "a,b,c".split(",") → ["a","b","c"]
strip(s) # str.strip — " abc " → "abc"
startswith(s, prefix) # str.startswith
endswith(s, suffix) # str.endswithFuzzy String Matching
levenshtein_distance()
jaro_winkler_similarity()
Regex Functions
re_search()
re_sub()
re_findall()
Date/Time Functions
datetime_today()
datetime_date
strptime()
strftime()
fromisocalendar()
calendar_monthrange()
Decimal/Locale Functions
parse_decimal()
format_decimal_to_locale()
Math Functions
Function
Description
Data Structure Functions
Last updated
Was this helpful?