Hey everyone, i need a little help with searching a string and putting that date into another string.
ex:
String com = "";
String mystring = "sometext here: !com shutdown";
// Magic happens
System.out.println(com);
// Output: "shutdown"
"!com" is the constant to search for, shutdown is variable.