Sorry, however; I've just begun to work with strings and this is a new topic I have just come across.
Are you talking about sprintf? This should get you started:
http://www.cplusplus.com/reference/cstdio/printf/
Not all of those are supported but some are.
Perfect, thank you!