02.12.2012, 18:37
Hello, What is the best way to replace a string?
Example: format(test[playerid], sizeof(test[playerid]), "%s","replaceing");
I have heard that strcat is better but that function only seems to join together two strings... I don't wont to do that I like to replace the whole content of test[playerid].
Example: format(test[playerid], sizeof(test[playerid]), "%s","replaceing");
I have heard that strcat is better but that function only seems to join together two strings... I don't wont to do that I like to replace the whole content of test[playerid].