Need some help
I have 2 string
String 1: A-B-C-D
String 2: A-B-C
If the string have 4 token
i need take A and concenate with D
A-D
if i have 3 token like A-B-C
i need take the 1st token A
Please help on this.
I have 2 string
String 1: A-B-C-D
String 2: A-B-C
If the string have 4 token
i need take A and concenate with D
A-D
if i have 3 token like A-B-C
i need take the 1st token A
Please help on this.
Comment