Here is an example program using the STRCMP function.
Panel | ||
---|---|---|
| ||
DVAR $String1 MSGCLEAR -1 $Strglob[5] = "Hello" $Global[10] = STRCMP ("Hello", "Hello", 1) $Global[11] = STRCMP ($strglob[5], $strglob[6], 1) MSGDISPLAY 1, "Stringvergleich 1: ", $global[10] If $global[10] == 0 Then if $global[11] == 1 Then MSGDISPLAY 1, "Stringvergleich korrigiert 1: ", $global[10] |
Related articles
Content by Label | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Page properties | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
|