@@ -23,29 +23,29 @@ ends-with ( attribute, string_expression )
2323
2424### attribute
2525
26- ` attribute ` specifies the attribute to test in. Attribute must be of the ** String** type.
26+ ` attribute ` specifies the attribute to test. It must be of the ** String** type.
2727
2828### expression
2929
30- ` string_expression ` specifies the value to test for being at the end of the attribute. It should be a string literal or a string parameter.
30+ ` string_expression ` specifies the value to test for being at the end of the attribute. It must be a string literal or a string parameter.
3131
3232{{% alert color="info" %}}
33- In the case the ` attribute ` is an empty value or ` NULL ` , the function will always return ` false ` , independent of the value of ` string_expression ` .
33+ If the ` attribute ` is an empty value or ` NULL ` , the function will always return ` false ` , independent of the value of ` string_expression ` .
3434
35- In the case the ` string_expression ` is empty, it is treated as an empty string. The function is then equivalent to ``` attribute != empty ``` .
35+ If the ` string_expression ` is empty, it is treated as an empty string. The function is then equivalent to ``` attribute != empty ``` .
3636{{% /alert %}}
3737
3838## Example
3939
4040This query returns all customers whose name ends with the sub-string ` sen ` :
4141
4242{{< tabpane >}}
43- {{% tab header="Environments:" disabled=true /%}}
44- {{< tab header="Studio Pro" lang="StudioPro" >}}
45- [ ends-with(Name, 'sen')]
43+ {{% tab header="Environments:" disabled=true /%}}
44+ {{< tab header="Studio Pro" lang="StudioPro" >}}
45+ [ ends-with(Name, 'sen')]
4646 {{% /tab %}}
47- {{< tab header="Java" lang="JavaQuery" >}}
48- //Sales.Customer[ ends-with(Name, 'sen')]
47+ {{< tab header="Java" lang="JavaQuery" >}}
48+ //Sales.Customer[ ends-with(Name, 'sen')]
4949 {{% /tab %}}
5050{{< /tabpane >}}
5151
0 commit comments