IsArabicAndNumbers

Description

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

Syntax

IsArabicAndNumbers ( string )

Argument

Description

string

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

Returns

Boolean. Returns true if string is composed entirely of Arabic characters or numbers and false if it is not.

Usage

If you are not running a version of Windows that supports right-to-left languages, IsArabicAndNumbers 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 and numbers:

IsArabicAndNumbers(sle_name.Text)

See also