how do we join strings with other strings, and strings with integers in pawn?
something like sprintf();
MyString[256] = "this is a test string";
MyInt = 1;
sprintf("%s %s %s %d \n", "this joins", MyString, "with", MyInt);
thankyou very much.
MyString[256] = "this is a test string";
MyInt = 1;
printf("this joins %s with %d\n",MyString,MyInt);
Output: this joins this is a teststring with 1
http://tdhclan.ru/wiki/index.php/Printf
http://tdhclan.ru/wiki/index.php/Format