|Download Help (Windows Only)|
Owning Class: string
Requires: MathScript RT Module
c = strcmp_ni(a, b, n)
Performs a case-insensitive comparison of the first n characters in input strings.
|a||Specifies a string.|
|b||Specifies a string.|
|n||Specifies the number of characters in a and b to compare. n is a positive integer.|
|c||Returns 1 if the first n characters in a and b are the same. Otherwise, this function returns 0. c is a Boolean.|
The following table lists the support characteristics of this function.
|Supported in the LabVIEW Run-Time Engine||Yes|
|Supported on RT targets||Yes|
|Suitable for bounded execution times on RT||Not characterized|
A = 'this is a test for findstr'
B = 'This can not be true'
C = strcmp_ni(A, B, 3)