Concatenating strings, how to?
Hi there, sorry my english, im Brazilian,
I want to concatenate 3 strings into 1 variable, i find a way creating a new variable1 and putting add(variable1,lenght,variable2) and again for variable3 but this generate 3 lines of code in my script, have another way to concatenate strings If any one can help me... thanks |
Re: Concatenating strings, how to?
Use formatex() -> http://www.amxmodx.org/funcwiki.php?...atex&go=search
Code:
new szString[64]; |
Re: Concatenating strings, how to?
Also you can use add,which does not have the extra overhead of format:
PHP Code:
|
Re: Concatenating strings, how to?
Thank you very much Alka, this works fine to me and saved much code lines ;D
danielkza, this method works with 3 variables too? |
Re: Concatenating strings, how to?
Or why not strcat() .
|
Re: Concatenating strings, how to?
Quote:
PHP Code:
|
| All times are GMT -4. The time now is 03:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.