CharCount (Method) - OCR for AnyDoc - Foundation 23.1 - Foundation 23.1 - AnyDoc - external - AnyDoc/OCR-for-AnyDoc/Foundation-23.1/OCR-for-AnyDoc-Programming-Reference-Guide/VBScript-Objects-Properties-and-Methods/Individual-Object-Methods/CharCount-Method - 2023-11-17

OCR for AnyDoc Programming Reference Guide

Platform
AnyDoc
Product
OCR for AnyDoc
Release
Foundation 23.1
License
ft:locale
en-US

Description

Returns the number of characters, excluding spaces, found in the string expression strData.

Applicable Events

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

Syntax

object.CharCount(strData)

Parameters

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

CharCount is the command.

strData is the string expression.

Example

N = Application.CharCount "1Z 0aa 000 00 0000 000 0"

MsgBox "Char Count is " & N‘ Char Count is 3