StrCmp()

<< Click to Display Table of Contents >>

Navigation:  Explain™ Control Language  > Library Routines > Miscellaneous functions >

StrCmp()

Description

Compares two strings character by character and returns a value indicating their relationship.

 

Type

REGULAR FUNCTION

 

Usage

Result = StrCmp(String1, String2)

 

String1

STRING

First string for comparison.

String2

STRING

Second string for comparison.

Result

INDEX

–1 = String1 less than String2

0 = String1 identical to String2

1 = String1 greater than String2

 

Related Topics