[Tool/Web/Other] Character Counter
#5

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:
pawn Code:
new length = strlen("Hey samp");
and the result would be 8
for more info, click here: https://sampwiki.blast.hk/wiki/Strlen
Reply


Messages In This Thread
Character Counter - by Pizzy - 05.09.2012, 21:18
Re: Character Counter - by TouR - 05.09.2012, 21:27
Re: Character Counter - by Chris White - 06.09.2012, 00:30
Respuesta: Re: Character Counter - by TheChaoz - 06.09.2012, 03:13
Re: Character Counter - by Chris White - 06.09.2012, 07:59
Re: Character Counter - by StatusRed - 06.09.2012, 17:11
Re: Respuesta: Re: Character Counter - by Pizzy - 06.09.2012, 17:44
Respuesta: Re: Respuesta: Re: Character Counter - by TheChaoz - 06.09.2012, 23:22
Respuesta: Character Counter - by TheChaoz - 08.09.2012, 18:39
Re: Character Counter - by Pizzy - 25.09.2012, 16:01

Forum Jump:


Users browsing this thread: 1 Guest(s)