Implementing variable int in char

I'm working with an 4D Oled display connected to my Arduino. I want the display to display a line of text that is build out of two (variable) integers and some static text:

integer + static text + integer

I there a simple way to load these integers in the char?

Thanks

If you mean convert the numeric values to text, then you can use the itoa() function.

Theres an example using itoa() here:

http://www.karlander.net/projekt/arduino-flash-trigger.html

The sprintf command is also a possibility. It's advantage is that it offers more control over the way a value is converted to a string, as well as being able to handle any type of value.

It's disadvantage is the rather cryptic nature of the format string, and the fact that the functions has a large memory footprint.

Thanks guys. I have tried the itoa function and it seems to work. Haven't got the chance to test it with the hardware though, I will try that tomorrow.

Thanks