Raised This Month: $ Target: $400
 0% 

need help with splitting strings


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Voi
Veteran Member
Join Date: Sep 2006
Location: Gdansk, Poland
Old 10-22-2010 , 08:50   need help with splitting strings
Reply With Quote #1

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".
__________________
Voi is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-22-2010 , 09:03   Re: need help with splitting strings
Reply With Quote #2

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.
__________________
Arkshine is offline
Voi
Veteran Member
Join Date: Sep 2006
Location: Gdansk, Poland
Old 10-22-2010 , 13:38   Re: need help with splitting strings
Reply With Quote #3

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.
__________________
Voi is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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