Skip to Content
0
Sep 16, 2016 at 05:15 PM

Mapping requirement for adding the text before the string

21 Views

HI All ,

i have a requirement , that i need to read a string ,

if the string starts with RAW then we need to add H before the String

if the string starts with JAW then we need to add T before the string

and if any string comes other than this 2 then we need to add D before the string

example:

before mapping

RAW,123 ,12

APER ,123,12

JKWE, 4563,12

JAW ,123,12

after mapping it should be

HRAW,123,12

DAPER,123,12

DJKWE,4563,12
TJAW,123,12

Please help me in this.

Thanks,

Viany.