Text Functions
Functions for working with text (string) values.
- Character.FromNumberReturns the Unicode character corresponding to the given numeric code point.
- Character.ToNumberReturns the Unicode code point number for the given character.
- Guid.FromReturns a validated and normalized GUID text value from the given text representation.
- Text.AfterDelimiterReturns the portion of a text value after a specified delimiter, optionally specifying which occurrence to use.
- Text.AtReturns the character at the specified zero-based index position in a text value.
- Text.BeforeDelimiterReturns the portion of a text value before a specified delimiter, optionally specifying which occurrence to use.
- Text.BetweenDelimitersReturns the text between a start delimiter and an end delimiter, with optional occurrence control.
- Text.CleanRemoves all control characters from a text value.
- Text.CombineJoins a list of text values into a single text value with an optional separator.
- Text.ContainsReturns true if a text value contains a specified substring.
- Text.EndReturns a text value of the specified length from the end of a text value.
- Text.EndsWithReturns true if a text value ends with a specified substring.
- Text.FromConverts a value to its text representation.
- Text.FromBinaryDecodes a binary value into text using the specified encoding.
- Text.InferNumberTypeInfers the most specific numeric type that can represent the given text value.
- Text.InsertInserts a text value into another text value at the specified offset position.
- Text.LengthReturns the number of characters in a text value.
- Text.LowerConverts all characters in a text value to lowercase.
- Text.MiddleReturns a substring starting at the given position, optionally limited to a specified number of characters.
- Text.NewGuidReturns a new randomly generated GUID as a text string.
- Text.PadEndPads the end of a text value with a character to reach at least the specified total length.
- Text.PadStartPads the start of a text value with a character to reach at least the specified total length.
- Text.PositionOfReturns the position of the first (or specified) occurrence of a substring within a text value, or -1 if not found.
- Text.PositionOfAnyReturns the position of the first character in a text value that matches any character in a given list.
- Text.ProperCapitalizes the first letter of each word in a text value.
- Text.RangeReturns a substring from a text value starting at a given offset, optionally limited to a specified number of characters.
- Text.RemoveRemoves all occurrences of specified characters from a text value.
- Text.RemoveRangeRemoves a specified number of characters from a text value starting at the given offset.
- Text.RepeatReturns a text value composed of the input text repeated a specified number of times.
- Text.ReplaceReplaces all occurrences of a substring within a text value.
- Text.ReplaceRangeReplaces a specified number of characters in a text value starting at the given offset with a new text value.
- Text.ReverseReturns a text value with the characters in reverse order.
- Text.SelectReturns a text value containing only the characters from the input that match the specified selector.
- Text.SplitSplits a text value into a list of text values using a specified separator.
- Text.SplitAnySplits a text value at any character found in the separators string, returning a list of substrings.
- Text.StartReturns a text value of the specified length from the start of a text value.
- Text.StartsWithReturns true if a text value starts with a specified substring.
- Text.ToBinaryEncodes a text value into binary using the specified character encoding.
- Text.ToListReturns a list of single-character text values, one for each character in the text.
- Text.TrimRemoves leading and trailing whitespace (or specified characters) from a text value.
- Text.TrimEndRemoves trailing whitespace (or specified characters) from a text value.
- Text.TrimStartRemoves leading whitespace (or specified characters) from a text value.
- Text.UpperConverts all characters in a text value to uppercase.