chrisppppp
MIS
Crystal XI
Hi, i have a string like below:
Single trip, Age 18-35, England
What i'd like to do is split this string first two commas into its own seperate fields and then group upon them. the first one i've done with the following formula:
If Not({tblInsuredPerson.PremiumID} like "X*") then Left({tblInsuredPerson.InsuredName},(Instr({tblInsuredPerson.InsuredName},",")))
however i'm struggling with getting the age out, preferably with no commas and no spaces either side, can anyone help?
Hi, i have a string like below:
Single trip, Age 18-35, England
What i'd like to do is split this string first two commas into its own seperate fields and then group upon them. the first one i've done with the following formula:
If Not({tblInsuredPerson.PremiumID} like "X*") then Left({tblInsuredPerson.InsuredName},(Instr({tblInsuredPerson.InsuredName},",")))
however i'm struggling with getting the age out, preferably with no commas and no spaces either side, can anyone help?