July 09, 2015, 10:04 PM
siddu1790[SOLVED] Sub string
i have a string s ="abc , efg , gh"
i want to extract the substring upto second comma. is that possible using substring ?
please help
output:- abc , efg
This message has been edited. Last edited by: <Kathryn Henning>, July 09, 2015, 10:34 PM
TomswebDo a search for character functions and one named posit, among others. You decide which is best for your needs
July 10, 2015, 09:59 AM
siddu1790hi tomsweb,
I have used GETTOK for dividing the string into tokens depending upon ',' and i got my output