4.9. String functions #

4.9.1. concat()
4.9.2. left()
4.9.3. lower()
4.9.4. mid()
4.9.5. proper()
4.9.6. right()
4.9.7. strlen()
4.9.8. upper()

4.9.1. concat() #

Concatenate strings. It takes two or more string operands.

4.9.2. left() #

Return the leftmost N characters of a string. It takes two operands, the first operand is a string, the second is the string length, a numeric integer.

4.9.3. lower() #

Convert to lowercase. It takes one string operand.

4.9.4. mid() #

Return characters from the middle of the string. It takes three operands, the first operand is a string, the second and third are numeric integer values, start offset and length, respectively. The offset is 1-based just like in BASIC, with the offset value 0 being identical to 1. Negative offsets count from the right end of the string, i.e. mid(s,-n,n) is equivalent to right(s,n).

4.9.5. proper() #

Return the string converted lowecase, except the first letter of the first word, which will be uppercase. This function takes one string operand.

4.9.6. right() #

Return the rightmost N characters of a string. It takes two operands, the first operand is a string, the second is the string length, a numeric integer.

4.9.7. strlen() #

Return the number of characters in the string. It takes one string operand.

4.9.8. upper() #

Convert to uppercase. It takes one string operand.