OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Praxtor on 09 Jun 2007, 05:47:54
-
Hello:
I want to know if is posible make one mix with one string and other string for create one new string something like this.
_Strin1="2"
_Strin2="Hello"
I want get the string "Hello2" is this posible??
I know Hint Format ["%1%2",_Strin2,_strin1] i can see in the screen 2Hello but i want the string.
Some idea???
I know this:
_string = "Hello " + "world"
But is not the think that i want.
-
_string1 = "string";
_string2 = "2";
_string = format ["%1%2",_string1,_string2];
Think that this could work.
-
The + operator will combine strings.
_Strin2 + _Strin1 would return "Hello2."
Format would work as well.