QuestionQ139

VerifiedVariables and Arguments

A developer has saved a birth date in a String variable and needs to enter that value into a custom form. The developer must ensure that the date format matches the accepted input format.

Which method or activity is most appropriate for validating the format?

Explanation

The Is Match activity applies a regular-expression pattern to an input string and returns a Boolean result. A pattern defining the form’s required date syntax can therefore validate whether the birth-date value has the accepted format.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!