Raised This Month: $ Target: $400
 0% 

Concatenation of strings (putting two strings together)?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 04-11-2009 , 02:31   Re: Concatenation of strings (putting two strings together)?
Reply With Quote #2

Code:
new string[2001], iLen;
iLen += copy(string[iLen], (2001-iLen),		"Stuff");
iLen += formatex(string[iLen], (2001-iLen),	"Heres more stuff %s", szMoreStuff);
Code:
new list[2001], iLen;
iLen += formatex(list[iLen], (2001-iLen),		"'%s'", first_item);
for( new i; i<item_num; i++ )
	iLen += formatex(list[iLen], (2001-iLen),	", '%s'", other_items[i]);

Last edited by Emp`; 04-11-2009 at 02:36.
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
 



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 02:24.


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