Page last modified 13:11, 11 Aug 2015 by juhako


    Table of contents

    Description of the method


    Description: equalsIgnoreCase method compares string value to another string given as a parameter. The method returns true if the strings have same lenght and the corresponding characters in the strings are equal ignoring case.
    Available for: string
    Parameters: string
    Return type: boolean



    Context: HeaderType1
    OCL: self.Id.equalsIgnoreCase('idcontent')
    Description: The example rule executes


    The XML snippet below would pass this check, the character content is equal to "idcontent" when case is ignored.


    The other snippet below however would not pass this check as the string is different length and the character content is not equal to "idcontent".



    Attached you can find example schema and files which you can use for testing.