> For the complete documentation index, see [llms.txt](https://muradkarakas.gitbook.io/sodium_documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://muradkarakas.gitbook.io/sodium_documentation/language-reference/built-in-functions/built-in-string-functions-and-operands/like-and-not-like-operators.md).

# Like & Not Like Operators

The LIKE conditions specify a test involving pattern matching. Whereas the equality operator (=) exactly matches one character value to another, the LIKE conditions match a portion of one character value to another by searching the first value for the pattern specified by the second.

&#x20;**Example:**

```
void if_test_16() {
        char sonuc;
        sonuc = "if test 16 passed";
 
        if (sonuc like "%test%" and sonuc like "%16%" and sonuc like "if%" and sonuc like "%passed") then
                message("if_test_16 test passed ");
        else
                message("if_test_16 test failed");
        end if;
}
```
