mike-9
asked on
Manipulating string data in Crystal reports
Hello all,
I need some help with a Crystal formula on a string.
I have a string of data I want to manipulate. In Crystal that looks like this:
"ACCT_NBR=123456|iD_NUM=12 3456"
i want to just pull out the acct_nbr field. It will always start after the equals sign at the 12th character. The field length could be 4 to 6 characters then ends with the pipe.
What is the correct function to just pull out the acct_nbr? I was messing around with a few but could not get it quite right.
I need some help with a Crystal formula on a string.
I have a string of data I want to manipulate. In Crystal that looks like this:
"ACCT_NBR=123456|iD_NUM=12
i want to just pull out the acct_nbr field. It will always start after the equals sign at the 12th character. The field length could be 4 to 6 characters then ends with the pipe.
What is the correct function to just pull out the acct_nbr? I was messing around with a few but could not get it quite right.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Exactly what I was looking for.
ASKER
Thanks for the tip. That definitely did what was needed.
I think I found another way to do the same thing from browsing around the site.
tonumber(Mid(Split({table.
Thanks again for the quick response!