ends-with

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  Expression Functions > String Functions >

ends-with

Returns true if the string supplied in the string argument ends with the string supplied in the end argument.

 

Signature

ends-with(string:string, end:string) -> Boolean

 

Parameters

Name

Type

Description

string

string

The input string.

end

string

The string value to check for.

 

Examples

The following expression returns true:

 

ends-with('cat', 't')

 

The following expression returns false:

 

ends-with('cat', 'a')


© 2019 Altova GmbH