Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello all,
I have a question for you. I have a string that I only want to extract up to the first ' - '. How would I do this?
Example:
AR Analysis -
Sales Analysis -
CRM Stats -
Thanks
Thom
SubField(TextBetween('d:\accesspoint\ar analysis - 133531 _ youngstown-fs.qvw','\',' -'),'\',-1) as YourOutput
or
SubField(TextBetween(YourFieldName,'\',' -'),'\',-1) as YourOutPut
May be this:
SubField(MyString, ' -', 1) as MyNewString
Trim(SubField(MyString,'-',1)) as MyNewString
Sunny T,
Here is what I got and all I need out of the string is ar analysis. I need to strip off the d:\accesspoints\ and - 135131 _ youngstown-fs.qvw
Thanks
Thom
d:\accesspoint\ar analysis - 133531 _ youngstown-fs.qvw |
One thing to remember it might be ar analysis or crm stats or billing analysis
SubField(TextBetween('d:\accesspoint\ar analysis - 133531 _ youngstown-fs.qvw','\',' -'),'\',-1) as YourOutput
or
SubField(TextBetween(YourFieldName,'\',' -'),'\',-1) as YourOutPut
Thanks Manish.....It worked perfect.
Thanks everyone for your help.