strAlpha Function

Copies only the alphanumeric characters from a string.


str strAlpha(str _text)

Parameter

Description

_text

The string from which to copy.

A new string that contains all the alphanumeric characters from the specified string.

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: