How to get number of word in text???
I have text:
new arg[128] = "Hello World, this is I!" number of words in text is: 5 Hello - 1st World, - 2nd this - 3rd is -4th I! - 5th and how to get this number(5) in amxx??? |
Re: How to get number of word in text???
There are strbreak, strtok and parse functions (see string.inc or function reference for details/examples).
|
Re: How to get number of word in text???
Code:
|
| All times are GMT -4. The time now is 20:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.