Hi,
I know this is an old thread, but I've got a very similar String to split and could need a helping hand.
So my String looks something like that:
NameOfDocument: 1/8
and i only need the part with the 1. If i use
$data = "NameOfDocument: 1/8"
$s = StringSplit($data, ": ")
ConsoleWrite(" Right part = '" & $s[$s[0]] & "'" & @CRLF)
the result will be: 1/8. What can i do to get only the 1? Split it again in another step? Or is there a way to do it in one step?
Sean