information in string looks like this:
Name
RanK
From this, I understand that the string looks like NameRank (Name#D#ARank). If you want to split it, use Pos and copy functions.
iPos := Pos('#13#10', yourString).
Name := copy(yourString, 1, iPos-1);
Delete(yourString, 1, iPos + 1); //delete <CR><LF>
//now, yourString stores only the rank
If my supposition is wrong, post your code.
Cheers,
Ionut
Ionelul
Junior Poster in Training
94 posts since Dec 2009
Reputation Points: 17
Solved Threads: 27