Mwnci string functions that are not part of the builtin functions can be loaded with
include("string")
Functions
Command | Definition |
capitialize() | Returns a string where the first character is upper case, and the rest is lower case. |
center() | Returns centered string. |
isalnum() | Returns true if all characters in the string are alphanumeric. |
isalpha() | Returns true if all characters in the string are in the alphabet |
islower() | Returns true if all characters in the string are in lower case |
isnum() | Returns true if all characters in the string are numeric. |
isspace() | Returns true if all characters in the string are whitespaces. |
istitle() | Returns true if the string follows the rules of a title. |
isupper() | Returns true if all characters in the string are upper case. |
ljust() | Returns a left justified version of the string. |
partition() | Returns an array where the string is parted into three parts. |
swapcase() | Swaps cases, lower case becomes upper case and vice versa. |
title() | Converts the first character of each word to upper case |