Redirected from User Guides/myXML/User guide for OCL rules in XMLdation environment/Available methods for OCL base types/.startsWith().startsWith()
Description of the method
|Description:||startsWith method tests if the string starts with specific characters given as a parameter for this function.|
|Description:||The example rule checks if the value of <Id> starts with character a.|
The XML snippet below would pass this check.
The other snippet below however would not pass this check.
Attached you can find example schema and files which you can use for testing.