Functions - 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

Functions perform specific tasks that return values. Use functions to “do something” to your zones one step at a time. Sometimes functions contain arguments or expressions, which customize what the function does. For instance, the Left function contains two arguments: string and length (how many characters to return). Below are listed some of the most common functions used with OCR for AnyDoc:

Function

Description

Left(string, length)

Returns a specified number of characters starting from the left of a specified string.

Right(string, length)

Returns a specified number of characters starting from the right of a specified string.

Mid(string, character position, length)

Returns a specified number of characters starting from a specified character position of a specified string.

LCase(string)

Converts a specified string to lower case.

UCase(string)

Converts a specified string to upper case.

LTrim(string)

Removes spaces to the left of the specified string.

RTrim(string)

Removes spaces to the right of the specified string.

Trim(string)

Removes spaces from the left and right of the specified string