why don't you just use clip/trunc (don't know which of these two it was, always mix them up) to cut off the fist couple of letters and the use str_to_int?

oh and that's not how you define global vars:
Code:
STRING* AbyssNameString = str_create("");
STRING* AbyssNumberString = str_create("");
STRING* TempString = str_create("");
STRING* ComparisonString = str_create("Abyss");


Last edited by Kartoffel; 11/17/14 17:56.

POTATO-MAN saves the day! - Random