sprintf() perhaps! check it out here
sprintf() perhaps! check it out here
great that works thanks! Do you know how I could created a function that takes an arbitrary amount of strings? So I could use sprtintf to convert all needed variables then write a function say lprintf(str1, str2, etc) that would concatenate them all with white space. I think i know how to write the function but I dont know if its possible to do it for an arbitrary amount of inputs. Thanks again
Do you mean a function whose argument list changes? If that's the case then check out the one here.