Hello,
Is there a way to check case sensitivity on the value I pass in?
Also, is there any other way to check the data type of the value?For example,
1) Want to check if the value corresponding to the date type is actually using the date type correctly? 2) Want to check whether the value corresponding to the string type uses only uppercase letters, only lowercase letters, and whether special symbols are combined.
Thank you.
Discussion posts and replies are publicly visible
Yes. As this seems to be a bit more complex, I suggest going with the regex plugin.
Yes. That is possible. You can use the regex as Stefan said but you can also build logic with the native SAIL code itself.
For eg. To check for the upper case characters, you can use the code function. For checking the date, you can split it on the required character (/,.,-) and then check the value of individual indexes in that array.