Try using String.split()
with the delimiter :
, and String.substring()
on index 1 of the String[]
obtained from the earlier String.split()
.
2
solved How to extract some text from a string in java
Try using String.split()
with the delimiter :
, and String.substring()
on index 1 of the String[]
obtained from the earlier String.split()
.
2
solved How to extract some text from a string in java