String Manipulation
From Yubnub
These commands all manipulate strings in various ways. Many of them could be useful when creating new commands.
Return a portion of a string
- %
- Returns a sublist of words for a given phrase.
- FilterString
- Removes a word from a string. This is the opposite of %.
- strLeft and strLeftRev
- Return characters from the beginning of a string.
- strRight and strRightRev
- Return characters from the end of a string.
Modify a string
- strReplace
- Replace all instances of a character or string found within another string.
- lcase
- Convert a string to lowercase.
- ucase
- Convert a string to uppercase.
Get information about a string
- echo
- Simply displays a string.
- strFind
- Returns the position of a string or character within another string.
- strLength
- Returns the length of a string.
View Creating Commands