Thoses are the three commands you need for the effect you want.
C-Script does not provide the ability to simply "add" strings.
Plus you have to make sure that everything has the data type "string".
A number's data type is "var", so you have to translate it first:
Code:
string result_str;
string temp_str;
function select(_string1,_string2,_nr)
{
str_for_num(temp_str,_nr);
str_cpy(result_str,_string1);
str_cat(result_str,_string2);
str_cat(result_str,temp_str);
}
//How to call, example:
select("Hello"," World ","2007");
result_str = "Hello World 2007";