Maybe I’m being a bit slow here after the summer holidays…
But if I have a server action value called this_value
, how can I create a condition which says:
if (this_value contains the string 'xyz') then
Maybe I’m being a bit slow here after the summer holidays…
But if I have a server action value called this_value
, how can I create a condition which says:
if (this_value contains the string 'xyz') then
Oh yes, I’m still a bit slow with Wappler after the summer…
Thank you Teodor, and for replying on a Friday night.
I hope you had a lovely summer!
Hello, in the same vein as the previous question. I want to add a condition and assign it the value 1 if the condition is true. However, when I test it, it should be false and return 0, but this is not the case.
.then
, since .contain
immediately returns a boolean value — either true or false.thanks i ll try
No, that's not the reason, if you want to re-read it, thank you. @Teodor , a n idea ?
I don't understand anything from your screenshot. What should i be looking at?
What do you want to achieve and what is the exact expression used?