AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   need help with splitting strings (https://forums.alliedmods.net/showthread.php?t=141307)

Voi 10-22-2010 08:50

need help with splitting strings
 
I have a number ranging from 1 to 99. Im using num_to_words. I want to split the numbers into different strings.

For example I have "thirty two" string. I want to make from that one string two strings, "thirty" and "two".

Arkshine 10-22-2010 09:03

Re: need help with splitting strings
 
Is that hard to search ? http://www.amxmodx.org/funcwiki.php?go=inc&id=5. You need help when you have tried nothing... Stop to be lazy and search/try, please.

Voi 10-22-2010 13:38

Re: need help with splitting strings
 
Oh thanks. Sorry, I have almost no knowledge in operating in strings, but I may find parse and strbreak functions quite understanable for now. Thanks for poiting it out.


All times are GMT -4. The time now is 10:23.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.