How Do I Create A Server Action Condition: Value Contains 'xyz'?

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
Community Page
Last updated: