Home mm2k6 Help Files Procedures Input Processing - StripAnsi
24 | 01 | 2018
Input Processing - StripAnsi
Article Index
Input Processing
Abs
IsEmpty
PadLeft
StripAnsi
Val
All Pages

@StripAnsi(text)

Pass in some text and it returns the same text with all the ansi codes removed.

@Strstr(search in,search for)

StrStr searches for the occurrence of one string in another. It returns the 0
based index of where the string to search for starts in the other. If the
search for string is not found -1 is returned.

@SubStr(string,startCharIndex,endCharIndex)

SubStr returns a string which is a substring of the original starting from
the startCharIndex until the endCharIndex. The index is 0 based.

@substr(OneTwoThree,3,5) would return Two

@TextColor(text)

This procedure is only useful in an action. It searches the line of text that
caused the action to fire for the text passed in. It returns the color of the
first character that matches.

@Upper(text)

Upper converts all the letters in the text to upper case.  This can be
useful when comparing items in a list or with an /if.

Examples:
   /if {"Upper($Name)" == "ARITHON"}

   @InList(Spells,@Upper($1))