Click or drag to resize

Streq function

Streq function checks if two strings are equal.

Syntax

Default syntax: streq "stringA" "stringB; returns 1 if the strings are equal, 0 otherwise.

[a] = Hello
[b] = World

if streq "{a}" "{b}" then
  output The strings are equal
else
  output The strings are not equal
endif

//The code returns "The strings are not equal"