4Test Code - Convert STRING contents as List of STRING
[+] List of STRING SplitToList (String sInput, String sDelimiter) [ ] List of STRING lsReturn = {} [ ] Integer iIndex =1 [ ] [+] while (GetField (sInput,sDelimiter,iIndex) != "") [ ] ListAppend (lsReturn, GetField (sInput,sDelimiter,iIndex)) [ ] iIndex++ [ ] [ ] return lsReturn
This is useful code, however it is not working if sInput = @@abc@def@ghi@jkl@@
ReplyDeletewhere delimiter is @
in this case it is returning blank list of string.
Could you please handle this situation.