SA-MP Forums Archive
Counting letters in a string - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Counting letters in a string (/showthread.php?tid=119077)



Counting letters in a string - Striker_Moe - 06.01.2010

Howto?

For example, I got string[128], but I want to find out how many letters of the 128 are used.


Re: Counting letters in a string - GTAguillaume - 06.01.2010

Код:
strlen(string);
?


Re: Counting letters in a string - Striker_Moe - 06.01.2010

Dangit. Epic fail. Sorry. XD