Share via


AxdBase::stripPrefix Method [AX 2012]

Removes the Axd prefix from a name.

Syntax

client server public static str stripPrefix(str name)

Run On

ClientOrServer

Parameters

  • name
    Type: str
    The name that Axd should be removed from.

Return Value

Type: str
The name without the Axd prefix.

Examples

The following example shows how to remove Axd from AxdSalesOrder.

    str     result;
 
    result = AxdBase::stripPrefix('AxdSalesOrder');

See Also

Reference

AxdBase Class