I am trying to tokenize a string that contains non-displayable characters i.e. HEX. How to split a string based on some HEX characters. e.g.
Here represents any HEX character which I want to to set as part of Token along with some string as a Token. can be any HEX character but I just want to split on some of them e.g. in the following sample string I want to split at TEST2
based on my Tokens the output should look as below:Code:"StartTEST1TEST2TEST3TEST2TEST4TEST5TEST6TEST2TEST7TEST812END"
Any idea how to do this. Any help is appreciated.Code:StartTEST1 TEST3 TEST4TEST5TEST6 TEST7TEST812END
Thanks




Reply With Quote