AlphaCount (Method) - AlphaCount (Method) - AnyDoc - OCR for AnyDoc - AnyDoc/OCR-for-AnyDoc/Foundation-23.1/OCR-for-AnyDoc-Programming-Reference-Guide/VBScript-Objects-Properties-and-Methods/Individual-Object-Methods/AlphaCount-Method - Foundation 23.1 - Foundation 23.1

OCR for AnyDoc Programming Reference Guide

Platform
AnyDoc
Product
OCR for AnyDoc
Release
Foundation 23.1
License
ft:lastPublication
2023-11-17T13:24:58.960000
ft:locale
en-US

Description

Returns the number of letters found in the string expression strData.

Applicable Events

AnyApp Pre-Application, AnyApp Post-Algorithm, AnyApp Post-Application

Syntax

object.AlphaCount(strData)

Parameters

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

AlphaCount is the command.

strData is the string expression.

Example

strData = "1Z0034455648"

n = Application.AlphaCount strData

MsgBox strData & " has " & n & " Alpha chars"