OCLOperators pad
This page was created by Stephanie on 2025-01-08. Last edited by 62.169.16.147 on 2026-09-12.
Given a Class Car with attribute Name.
Car.allInstances->first.Name.pad(20,'dsd')
The above OCL returns
| sddsddsddsddsdToyota |
Given a Class Car with attribute Name.
Car.allInstances->first.Name.pad(20,'dsd')
The above OCL returns
| sddsddsddsddsdToyota |
© MDRIVEN. All Rights Reserved
© MDRIVEN. All Rights Reserved