Focal Point
[SOLVED] Sub string

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/8897061776

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>,


WEBFOCUS 8.0
July 09, 2015, 10:34 PM
Tomsweb
Do a search for character functions and one named posit, among others. You decide which is best for your needs


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
July 09, 2015, 10:35 PM
Tomsweb
http://forums.informationbuild...901030132#2901030132


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
July 10, 2015, 09:59 AM
siddu1790
hi tomsweb,
I have used GETTOK for dividing the string into tokens depending upon ',' and i got my output


WEBFOCUS 8.0