IsAllArabic

Description

Tests whether a particular string is composed entirely of Arabic characters.

Syntax

IsAllArabic ( string )

Argument

Description

string

A string whose value you want to test to find out if it is composed entirely of Arabic characters

Returns

Boolean. Returns true if string is composed entirely of Arabic characters and false if it is not. The presence of numbers, spaces, and punctuation marks will also result in a return value of false.

Usage

If you are not running a version of Windows that supports right-to-left languages, IsAllArabic 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 is composed entirely of Arabic characters:

IsAllArabic(sle_name.Text)

See also