Crystal Report : formula for Splitting string on / and concatenating it with other string

user240141 picture user240141 · Aug 26, 2013 · Viewed 43.2k times · Source

I have string coming in this format WORVS/000017/0005.

I want to split the string on /. I want only 000017 from this string and further I had another column to which it has to be concatenated.

I need a formula for same.

Answer

Siva picture Siva · Aug 26, 2013

Create a formula and add below code.

Split (dbfield,"/")[2]