For a project and in general, i'd like to know if there's a way you could check if a certain string has a specific character in s specific position. For example if you want to know if the string starts with an "H", or if the third character is a "c".
Can someone please help me with this?
Thanks in advance.
You could try (with the string you want to search, the index of the character and char the character you are looking for)
findCase(right(string,len(string)-index),char) in a condition and look if that is 0.
Example:
I think it's easier to use mid() expression here:
System compare two values mid("foo bar", 4, 1) equals "b"
I think it's easier to use mid()
You're right. It's much easier to understand.
Develop games in your browser. Powerful, performant & highly capable.
Thank you! It helped out a lot!