🚀 Welcome to MDriven Learn –  Don’t miss the latest Release Notes.
OCLOperators postPad

Given a Class Car with an attribute Name.

Car.allInstances->first.Name.postPad( 21 ,  'funny' )

The above OCL returns:

Toyotafunnyfunnyfunny