Difference between revisions of "Manuals/calci/EXACT"

From ZCubes Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="font-size:30px">'''EXACT(t1,t2)'''</div><br/>
+
<div style="font-size:30px">'''EXACT (Text1,Text2) '''</div><br/>
*<math>t_1</math> and <math>t_2</math> are text string.
+
*<math>Text1</math> and <math>Text1</math> are text string.
  
 
==Description==
 
==Description==
Line 11: Line 11:
  
 
==Examples==
 
==Examples==
#EXACT("life","life") = TRUE
+
#EXACT("life","life") = true
#EXACT("life","Life") = FALSE
+
#EXACT("life","Life") = false
#EXACT("LIFE",Life") = FALSE
+
#EXACT("LIFE","Life") = false
#EXACT("l ife","life") = FALSE
+
#EXACT("l ife","life") = false
#EXACT("45","45") = TRUE
+
#EXACT("45","45") = true
#EXACT("7","-7") = FALSE
+
#EXACT("7","-7") = false
  
 
==Related Videos==
 
==Related Videos==
Line 28: Line 28:
 
==References==
 
==References==
 
*[http://en.wikipedia.org/wiki/String_%28computer_science%29 String]
 
*[http://en.wikipedia.org/wiki/String_%28computer_science%29 String]
 +
 +
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
 +
*[[ Z3 |  Z3 home ]]

Latest revision as of 12:33, 15 August 2018

EXACT (Text1,Text2)


  • and are text string.

Description

  • This function checks the two text string values are identical or not.
  • This function will give the result in a logical values.
  • The result is TRUE when the two strings are similar and the result is FALSE when the two strings are different.
  • function is the similar to the comparison operator (==).
  • So we can use the operator(==) instead of this function.
  • The string values we have to give with in double quotes.

Examples

  1. EXACT("life","life") = true
  2. EXACT("life","Life") = false
  3. EXACT("LIFE","Life") = false
  4. EXACT("l ife","life") = false
  5. EXACT("45","45") = true
  6. EXACT("7","-7") = false

Related Videos

EXACT

See Also

References