I have multiple string like this one after the other in text file
firstName:::: ABC.
lastName:::: XYZ.
MobileNo::::7645676345
and I want to split only value from above string like (ABC,XYZ,764567345)
How to do this by using split method.
Can anyone knows the answer of this?
Thanks in advance.