Issue 6894: Add a generic text formatter operator '% (ocl2-rtf) Source: France Telecom R&D (Mr. Mariano Belaunde, mariano.belaunde(at)orange.com) Nature: Uncategorized Issue Severity: Summary: Example: self.comment = "My name is %s" % self.firstname Resolution: Presumably the suggestion is to build C's printf into OCL. However experience with printf has shown that it has significant type safety issues. I think a better solution requiring no change to the OCL language would be a String::printf() Standard Library operation. 'My name is %s'.printf(self.firstname) Disposition: Closed, no change Revised Text: Actions taken: January 7, 2004: received issue December 23, 2013: closed issue Discussion: This is a request to improve the language. Better solved in a RTF. End of Annotations:===== SSUE Add a generic text formatter operator '%' Example: self.comment = "My name is %s" % self.firstname