Search This Blog

Friday, October 12, 2018

Split string useing List in AX2009

static void Job277(Args _args)
{
    List _list = new List(Types::String);
    Container packedList;
    ListIterator iterator;
    str cade = "Jhon*,smt*,and*,caro*";
    ;
    _list = Global::strSplit(cade,",");
    iterator = new ListIterator(_list);
    while(iterator.more())
    {
        packedList += iterator.value();
        iterator.next();
    }
    info(conpeek(packedList,2));
    info(strfmt("%1",conlen(packedList)));
 
}


1 comment:

  1. Hey,

    You can see that you know it! By reading your blog, I see that you have a lot of knowledge about it!
    So I have a question for you - are you familiar with the internet of things (I have read about it here a little and I am thinking about introducing it to my company)

    ReplyDelete