IsAnyArabic

Description

Tests whether a particular string contains at least one Arabic character.

Syntax

IsAnyArabic ( string )

Argument

Description

string

A string whose value you want to test to find out if it contains at least one Arabic character

Returns

Boolean. Returns true if string contains at least one Arabic character and false if it does not.

Usage

If you are not running a version of Windows that supports right-to-left languages, IsAnyArabic is set to false.

Examples

Example 1

Under a version of Windows that supports right-to-left languages, this statement returns true if the SingleLineEdit sle_name contains at least one Arabic character:

IsAnyArabic(sle_name.Text)

See also