Sign in Join
FPDoc Onlineexperiment

TMaskUtils.TryValidateInput function

Member of TMaskUtilspublicIn unit MaskUtils

Declaration

pascal
function TryValidateInput(out ValidatedString: string): Boolean

Arguments

ValidatedStringValue with Mask applied to it.

Function result

True if Value satisfies Mask.

Description

TryValidateInput checks that the text in Value satisfies the given mask in Mask and returns True if it does, False otherwise. It returns Value with the mask applied to it in ValidatedString.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.