Please enable JavaScript to view this site.

Function that performs an equality comparison between strings.

Syntax

i32 str_equal (string str1, string str2)

str1

First string to compare

str2

Second string to compare

Result

Returns:

Value

Meaning

<> 0

The two strings are identical (takes into account both characters, spacing and lengths)

0

The strings are different

Validity

Rule, Task

Note

The function is not case sensitive

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC