dblIsRegEx

bool dblIsRegEx (string pattern, string value)

Description

Determines if the "value" text match the Regular Expression pattern (Click Here to learn more on Regular Expression)

Parameters

The following is a list of parameters the functions receives 

Parameter Type Description
pattern string Regular Expression pattern
value string Text string


Return Type

bool

Example

Verify that the number entered is 10 digits only

dblIsRegEx("^[0-9]{10}$",Answer(CurrQues).ToString()) 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.