help counting amount of chars of a string
#1

Код:
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.
Reply
#2

strlen(inputtext) will return the number of characters.
Reply
#3

PHP код:
strlen(string); 
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?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)