Greetings,
I have an problem reading strings. I want to execute a command if an strings starts with x specific letter.
For example:
PHP Code:
if(string_startswith(stringOne,";")) {
}
Im using this:
PHP Code:
if(containi(stringOne,";")) {
}
But this checks if string has a custom x letter/string rather than checking if it starts with it.
Thanks in advance
Solution:
if(equal(string,";",1))