I have this string:
LethPhaos: Level 2 Ugly Dwarf; Status: Online; TTL: 0 days, 00:08:17; Idled: 0 days, 00:26:50; Item sum: 4
and I want my script to echoe the information given in it on different lines.
Therefore I need to get parts of the string out of it. How to do that?
Let's say I need the 'Online' part, how to find it? And how to get it out?
Just $left and $right isn't enough, because the level is not always 1 digit, it could be more.