Crystal Reports Stock description

21 Views Asked by At

I need to show a part of a description; if the description is Testing (6) (with brackets), I need to show only the 6 in the bracket. Any ideas,s, please?

tried the below command mid ({tablename}, 1, inStr(tablename, "(")-1)

1

There are 1 best solutions below

0
MilletSoftware On

Crystal Reports has an ExtractString() function, so use an expression like this:

ExtractString(yourstring, "(", ")");