help counting amount of chars of 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)
+--- Thread: help counting amount of chars of a string (
/showthread.php?tid=654817)
help counting amount of chars of a string -
Reiikz - 06.06.2018
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
i have that callback that i'm using but i don't know how to get the amount of chars in inputtext, i need to know how many charachters the user writen.
Re: help counting amount of chars of a string -
J0sh... - 06.06.2018
strlen(inputtext) will return the number of characters.
Re: help counting amount of chars of a string -
jasperschellekens - 06.06.2018
https://sampwiki.blast.hk/wiki/Strlen
Please search the next time.
'samp count string characters' on a search site gives u tons of results. not that hard right?