hi,
i have problem dealing with a string in a line,
for example i have the following lines in a .txt file
ussdserver link from host /127.0.0.1:38978(account smpp34) is up|smpp34|2012-10-28 17:02:19
ussdserver link from host localhost/127.0.0.1:8088(account callme) is up|callme|2012-10-28 17:02:20
i need from my code to get the word after the "account" word (in the first line its smpp34) and the word "up" (after the is word)
pls help how i can do it?
i thought about the String charAt() method but it dont work here because the words that i need can be in different places like in the example
thanks,