This is a simple one...
Is there a printf() in Lazarus/fpc? If so, where can I find it?
If not, is there an equivalent or am I looking at a world of pain to implement something similar?
I'm looking for something that can be used as a resource string for translations which allows the order of the words around a variable to be changed.. with printf I would simply use:
subject:='cat';
translationString:='The %s sat on the mat.';
printf(translationString,subject);
translationString:='On the mat, the %s sat.';
printf(translationString,subject);
-FM