How to verify a part of a string?

Hi,
I’m sure this question has been asked before, but I can’t find an answer.
I have a string and I need to verify that a part of it is correct. I don’t care about the other part of it, however. Can this be done, and more importantly, can it be done without using Katalon Objects or Variables?
Thanks.

Hi Ilya

I use this:

import org.apache.commons.lang3.StringUtils as StringUtils

https://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/StringUtils.html

1 Like

Thanks!