ContainsNumerics (Method) - OCR for AnyDoc - Foundation 23.1 - Foundation 23.1 - AnyDoc - external

OCR for AnyDoc Programming Reference Guide

Platform
AnyDoc
Product
OCR for AnyDoc
Release
Foundation 23.1
License

Description

Determines if the object contains numeric characters.

Applicable Events

Post Extract, AnyApp Post Extract, Pre-Verify, Interactive, Verification Function Key (F-Key), Post-Verify

Syntax

object.ContainsNumerics [ strChars ]

Parameters

Object is a reference to the Zone or Line object. For more information, see Zone Object (page Zone Object) or Line Object (page Line Object).

ContainsNumerics is the command.

strChars is a list of other characters that are considered numeric (optional). If strChars is empty, or not present, the only valid numeric characters are Arabic numerals 0 through 9.

Example

MyZone.Value = "ABC123"

MsgBox MyZone.ContainsNumerics("-")‘ display True