Skip to main content

Posts

Showing posts with the label strSplit

Split Email by delimiter in axapta

To Split Email by delimiter in axapta you can try below code #define.EmailDelimiter(",") List list; str _emailIdList; container sendList; ListIterator iterator; boolean valid; ; _emailIdList = "test@gmail.com,test1@gmail.com,test2@gmail.com,test3@gmail.com,test4@gmail.com"; valid = true; list = new List(Types::String); list = Global::strSplit(_emailIdList, #EmailDelimiter); iterator = new ListIterator(list); while(iterator.more()) { info(strfmt("%1",iterator.value())); sendList += iterator.value(); iterator.next(); } Strsplit used to split the email list you can try and special character to check it.