strAlpha Function

Deletes all non-alphanumeric characters from a text string.


str strAlpha(str _text)

Parameter

Description

_text

The text string from which to remove non-alphanumeric characters.

The text string equivalent to text but without any non-alphanumeric characters. For example, strAlpha("2+2=5 is this correct?") returns the text string 225isthiscorrect.

static void strAlphaExample(Args _arg)
{
    str s;
    ;
    s = strAlpha("?a*bc123.");
    print s;
    pause;
}

Community Additions

ADD
Show: