Hi
I have a
Java string which is composed of several bits of information that I need to extract out.
It has 4 bits of information - Component, Server, Database and Status.
The information of each is provided after the name and is enclosed in [].
The [] is to define the start and end of the message and not part of the message.
Below is an example :-
"Resp Message - Component[Component Name] Server[Server Name] DataBase[Database Name] Status[Current Status]"
Now I would like to be able to extract out the 4 bits of information into seprate String for
each specific type eg
String component = "Component Name";
String server = "Server Name";
String database = "Database Name";
String status = "Current Status";
I would very much appreciate any help with how I can do this please.
Thank you.
Pete