06.09.2012, 07:59
lawl, rofl. Didn't you ever hear about strlen(text); ? well, if you didn't, you use this function to get the size of the string or the number of characters. The return value is an int.
You can use it like this:
and the result would be 8
for more info, click here: https://sampwiki.blast.hk/wiki/Strlen
You can use it like this:
pawn Code:
new length = strlen("Hey samp");
for more info, click here: https://sampwiki.blast.hk/wiki/Strlen