How to extract some text from a string in java -
i have string:
adding offert database.
number of agreement: 98393553553
number of accounting: 1242422222222222224242
agreement in step: accounting
how extract text: 98393553553 (text has same number of characters - 11 characters) using java. text before: 98393553553 can different (sometimes).
try using string.split()
delimiter :
, , string.substring()
on index 1 of string[]
obtained earlier string.split()
.
Comments
Post a Comment