Overview Module Function Class Tea 3.1.0 Reference Documentation
© 2002 PDM&FC

Module String

Functions for manipulating string objects.

Function Summary
float->string Generates a string with the decimal representation of a numeric value.
int->string Generates a string with the integer decimal representation of a numeric value.
str!= Checks if two strings are lexicographically different.
str-cat Concatenates a set of strings.
str-cmp Compares two strings lexicographically.
str-empty? Checks if a string as zero length.
str-ends-with? Checks if a string has another string as suffix.
str-fmt Builds a string from a template string, in the same way as the Java java.text.MessageFormat class.
str-index-of Finds the index of the first occurence of a string inside another string.
str-join Builds a new string by concatenating strings from a list.
str-len Determines the number of characters in a string.
str-lower Creates the lower case version of a string.
str-not-empty? Checks if a string is not empty.
str-printf Builds a string from a template string, in the same way as the C printf function.
str-split Splits a string into a list of strings.
str-starts-with? Checks if a string has another string as prefix.
str-substring Extracts a substring from a string.
str-trim Trims whitespace off both ends of a string.
str-unescape Replaces Tea escape sequences by its corresponding characters.
str-upper Creates the upper case version of a string.
str< Checks if a string is less than another in the lexicographic sense.
str<= Checks if a string is less than or equal to another in the lexicographic sense.
str== Checks if two strings are lexicographically the same.
str> Checks if a string is greater than another in the lexicographic sense.
str>= Checks if a string is greater than or equal to another in the lexicographic sense.
string->float Converts a string into a float object.
string->int Converts a string into an integer object.
symbol->string Generates a string with the name of a symbol

Overview Module Function Class Tea 3.1.0 Reference Documentation
© 2002 PDM&FC
Report a bug or request new features
© 2002