29.11.2013, 13:47
Quote:
Use strmid.
https://sampwiki.blast.hk/wiki/Strmid strmid(string, "ItWillCopeThis notthis", 1, 14); //string contains "ItWillCopeThis" 1 stands for the first character and 14 for the last. |
pawn Код:
new string[42] = "We will delete everything apart from this";
strdel(string, 0, 37); // string is now "this"