Raised This Month: $ Target: $400
 0% 

Is it possible to show integer from string?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 12-23-2014 , 11:16   Re: It is possible to show integer from string?
Reply With Quote #7

Quote:
formatex(text, charsmax(text), str, integer)
Alright, now I got it.

Then, is it right, if I do such below?
PHP Code:
new const str[] = "%i text %i text %i text %i text";
new 
integer1 1
new integer2 2
new integer3 3
new integer4 4

formatex
(textcharsmax(text), strinteger1integer2integer3integer4
So, the output is "1 text 2 text 3 text 4 text".

Last edited by zmd94; 12-23-2014 at 11:21.
zmd94 is offline
 



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 15:17.


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