SubStr Method in AX
Today I will demonstrate you that how to use SubStr() method in AX 2012.
Substr() Method
Substr() Method
static void Datatypes_string_substr(Args _args)
{
str carBrand;
;
carBrand = "Volkswagen";
print substr(carBrand, 6, 5);
{
str carBrand;
;
carBrand = "Volkswagen";
print substr(carBrand, 6, 5);
//Substr(string value /string variable name,starting postiont, number of elements);
pause;
}
Comments
Post a Comment