DVF string functions
Learn about string functions used in a data validation function.
Use string functions in Data Validation Functions to validate attributes that are composed of text or a combination of text and numeric characters.
Function | Description | Sample |
---|---|---|
regexp | The validation function checks that the given regular expression is matched. If the validation is met, then the appropriate validation message is displayed. This function supports the NOT conditional operator, and it works with empty values. |
|
equals | The validation function checks that the attribute value exactly matches the given condition, ignoring the case. If the validation is met, then the appropriate validation message is displayed. This function supports the NOT conditional operator, and it works with empty values. |
|
equalsCaseSensitive | The validation function checks that the attribute value exactly matches the given condition, considering the case. If the validation is met, then the appropriate validation message is displayed. This function supports the NOT conditional operator, and it works with empty values. |
|
contains | The validation function checks that the attribute value contains the given value. If the validation is met, then the appropriate validation message is displayed. This function supports the NOT conditional operator, and it works with empty values. |
|
containsWordStartingWith | The validation function checks that the attribute value contains words starting with the given value. If the validation is met, then the appropriate validation message is displayed. This function supports the NOT conditional operator, and it works with empty values. |
|
startsWith | The validation function checks that the attribute value starts with the given value. If the validation is met, then the appropriate validation message is displayed. This function supports the NOT conditional operator, and it works with empty values. |
|
missing | The validation function checks that the given value does not exist in the attribute value. If the validation is met, then the appropriate validation message is displayed. |
|
exists | The validation function checks that the attribute value exists. If the validation is met, then the appropriate validation message is displayed. |
|
listEquals | The validation function checks if the attribute value is in the given list. The elements of the list must be separated by commas. This function supports the NOT conditional operator, and it works with empty values. |
|
listEqualsCaseSensitive | The validation function checks if the attribute value is in the given list. The search for the given value is case sensitive. The elements of the list must be separated by commas. This function supports the NOT conditional operator, and it works with empty values. |
|
fuzzy | The validation function checks if the attribute value is similar to the given value. This permits minor differences between the query and the intended value. This function supports the NOT conditional operator, and it works with empty values. |
|
fullText | The validation function checks if the attribute value is exactly the same as the given value. The search for the given value is case sensitive. This function supports the NOT conditional operator, and it works with empty values. |
|
in | The validation function checks that the attribute value exists in a list of static strings. If the validation is met then the appropriate validation message is displayed. This function supports the NOT conditional operator, and it works with empty values. |
|