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

Given a Class Car with the attribute Name.

Car.allInstances->first.Name.pad(20,'dsd')

The above OCL returns:

sddsddsddsddsdToyota