Home : Products : Hach WIMS : Hach WIMS Client : Documentation : Function Reference : Math Toolbox Functions : Comparison Functions : TEXTEQ
Q10896 - INFO: TEXTEQ

TEXTEQ tests if a specified variable text value is the text equivalent of a specified text string. The Result is either 1 if the compared text strings are equivalent and 0 if they are not.

SYNTAX:

TextEq(Vx, TextString, MatchCase)
where :
Vx is a text conditional variable x
TextString is the specified text string to compare the values of Vx to
MatchCase is used to specify whether or not you want the comparison to be case sensitive:

Set to 1: the case of the characters must be matched for a true (1) result
Set to 0: the case of the characters is not important when evaluating the strings

NOTES:

Commonly used in IF statements for evaluation purposes.

EXAMPLES:

V136 = TextEq(V1012, "Sunny", 0)

Variable 136 will be 1 on the days that text variable 1012 is "Sunny", ignoring the case of the letters:

Related Articles
No Related Articles Available.

Article Attachments
No Attachments Available.

Related External Links
No Related Links Available.
Help us improve this article...
What did you think of this article?

poor 
1
2
3
4
5
6
7
8
9
10

 excellent
Tell us why you rated the content this way. (optional)
 
Approved Comments...
No user comments available for this article.
Created on 4/10/2008 4:08 PM.
Last Modified on 4/11/2008 9:46 AM.
Last Modified by No Author Name Available!.
Article has been viewed 4226 times.
Rated 0 out of 10 based on 0 votes.
Print Article
Email Article