strings:StartsWithIgnoreCase

Previous Next

Evaluates whether or not a string value starts with another string value, regardless of case.

Returns a boolean.

 

Syntax

strings:StartsWithIgnoreCase( value1, value2 )

Both value1 and value2 are required string values. The result evaluates to true() if value1 starts with value2 (regardless of case), and otherwise evaluates to false().

 

Example

select uscsxsl.blend(
  '<Example xmlns:pc="Processing.Command" pc:hideme="true">
     <pc:assign-string-default val = "abcDEF"/>
     <pc:value-of select="strings:StartsWithIgnoreCase( $val, ''aBc'')"/>
   </Example>'
)

The result value is:

true()