Uses of Class
dev.frostlake.functions.TextArgumentFunction
Packages that use TextArgumentFunction
-
Uses of TextArgumentFunction in dev.frostlake.functions.scalar.string
Subclasses of TextArgumentFunction in dev.frostlake.functions.scalar.stringModifier and TypeClassDescriptionclassclassclassclassCHARINDEX(needle, haystack [, start]) — POSITION's argument order; BINARY pairs search by BYTE.classclassclassclassclassclassclassclassINSERT(base, position, length, insertion).classJAROWINKLER_SIMILARITY(string1, string2) — the Jaro-Winkler similarity of the two strings scaled to an integer 0–100 (0 = no similarity, 100 = exact match), matching Snowflake.classLEFT(expr, n) — the leading n characters of a VARCHAR, or the leading n BYTES of a BINARY.classclassclassclassLPAD(expr, len [, pad]) — a VARCHAR padded to len characters, or a BINARY padded to len BYTES.classclassNORMALIZE(x, lo, hi) — Snowflake's min-max normalization(x - lo) / (hi - lo), NOT Unicode normalization (live-verified:NORMALIZE(5, 0, 10)is 0.5).classclassPARSE_IP(ip_address, type [, permissive]) — parses an IPv4/IPv6 address (optionally in CIDRaddr/prefixform) into a VARIANT OBJECT, matching Snowflake.classPARSE_URL(url [, permissive]) — parses a URL into a VARIANT OBJECT with Snowflake's keys, in ALPHABETICAL order (live-verified):fragment, host, parameters, path, port, query, scheme.classPOSITION(needle, haystack [, start]) — the 1-based position of needle, or 0 when absent.classRANDSTR(length, generator) — a deterministic random alphanumeric string seeded by the generator.classREGEXP_COUNT(subject, pattern [, position [, parameters]]) — the number of matches ofpatternat or afterposition(1-based, default 1).classREGEXP_INSTR(subject, pattern [, position [, occurrence [, option [, parameters [, group_num]]]]]) — the 1-based position of theoccurrence-th match (default 1) at or afterposition(default 1), or 0 when there is none.classREGEXP_LIKE(subject, pattern [, parameters]) — TRUE whenpatternmatches the ENTIRE subject (implicitly anchored, as in Snowflake).classREGEXP_REPLACE(subject, pattern [, replacement [, position [, occurrence [, parameters]]]]) — replace matches ofpatternwithreplacement.classREGEXP_SUBSTR(subject, pattern [, position [, occurrence [, parameters [, group_num]]]]) — theoccurrence-th match (default 1) at or afterposition(1-based, default 1).classREGEXP_SUBSTR_ALL(subject, pattern [, position [, occurrence [, parameters [, group_num]]]]) — returns a VARIANT ARRAY with an element for every match at or afterposition(1-based, default 1), starting from theoccurrence-th match (default 1).classREPEAT(s, n): the stringntimes over, NULL when either argument is NULL.classclassREVERSE(expr) — a VARCHAR reversed by characters, or a BINARY reversed by BYTES.classRIGHT(expr, n) — the trailing n characters of a VARCHAR, or the trailing n BYTES of a BINARY.classRPAD(expr, len [, pad]) — a VARCHAR padded to len characters, or a BINARY padded to len BYTES.classclassRTRIMMED_LENGTH(s) — the length of the string without trailing blanks.classclassSPACE(n):nblanks.classSPLIT(string, delimiter) — splitsstringon the literaldelimiterinto an ARRAY of substrings (rendered as a JSON array, the engine's VARIANT representation).classclassclassclassSTRTOK_TO_ARRAY(string [, delimiters]) — tokenizesstringon any character indelimiters(each character is its own delimiter; the default is a single space) and returns a VARIANT ARRAY of the non-empty tokens.classSUBSTRING(expr, start [, length]) — a slice of a VARCHAR by characters or of a BINARY by BYTES.classclassclassTRY_PARSE_IP — PARSE_IP that returns NULL instead of erroring on invalid input.classTRY_VALIDATE_UTF8(x) — the input as a string when its bytes are valid UTF-8, else NULL.classclassclassVALIDATE_UTF8(x) — the input as a string when its bytes are valid UTF-8.