Pages

Banner 468 x 60px

 

Tuesday, November 21, 2017

StrFind in x++

0 comments
StrFind in x++ :

static void BIT_StrFind(Args _args)
{
    str a, b, c, d;
    int pos1, pos2, pos3;
    ;
   
    a = ".000-10.00000280";
    pos1 = strfind(a, '.', 1, strlen(a));
   
    b = strdel(a,pos1, 1);   
    pos2 = strfind(b, '-', 1, strlen(b));

    c = strdel(b, pos2, 1);   
    pos3 = strfind(c, '.', 1, strlen(c));

    d = strdel(c, pos3, 1);
   
    info(strfmt("%1", d));
}

0 comments:

A financial dimension value is based on the LAND-00013 record and has been used on a transaction. You cannot delete the LAND-00013 record AX 2012

 A financial dimension value is based on the LAND-00013 record and has been used on a  transaction. You cannot delete the LAND-00013 record ...