OriginLab Corporation - Data Analysis and Graphing Software - 2D graphs, 3D graphs, Contour Plots, Statistical Charts, Data Exploration, Statistics, Curve Fitting, Signal Processing, and Peak Analysis                     
 

3.5.5.5 Exact

Description

This function is used to return TRUE if both strings are an exact match (case and length).

Syntax

 int Exact(string str1, string str2)

Parameters

str1

is the frist string you want to match.

str2

is the second string you want to match.

Return

If the strings are match, return 1.

If the strings are not identical, return 0.


Example

string str1$="Abc";
string str2$="abc";
int letter = exact(str1$,str2$);
letter=; //Should return 0.

See Also

Search

 

© OriginLab Corporation. All rights reserved.