strAlpha Function [AX 2012]

Updated: December 10, 2009

Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

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 string 225isthiscorrect.

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

Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).

Community Additions

ADD
Show: