Trail: PROIV Documentation > Developer > PROIV Developer > Developing Functions > Events and Logic > STRCOMP

 

 

Purpose

STRCOMP compares two strings (in either case sensitive or insensitive mode) returning result value.
 

Syntax

variable = STRCOMP (operand1,operand2,operand3)
 

Operation

operand1 is any valid alphanumeric or wide character constant or variable
operand2
 is any valid alphanumeric or wide character constant or variable
operand3
 
is a numeric with a value of 1 to specify a case insensitive comparison, or 0 to specify a case sensitive comparison
variable
is a numeric variable that returns the value of 0 or 1
 

Remarks

The operation returns 0 if the strings are equal and 1 if the strings are not equal.
 

Example
 

 

Comment on this topic

Topic ID: 520121

 
 
 

Table of Contents

Index

Glossary

-Search-

Back