Skip to content

CharCount - DFBaseTextEdit

Returns the number of characters in the control

Type: Function
Return Data Type: integer

Syntax

Function CharCount Returns integer

Call Example

Get CharCount to integerVariable

Description

Returns the number of characters in the control.

This function counts each line break as 2 characters (a linefeed character (ASCII 10) followed by a carriage return character (ASCII 13).

Sample

integer iCharCount
get CharCount to iCharCount

Return Value

Number of characters in the control.