regular expression to find a substring in a string

Hi,

I have 2 arrays.
1)/errorDetailDoc/Events
2)/ErrorHandlingProperties/properties/ErrorCategory/NetworkException/NetworkError

I am doing a nested loop, then I should search if the 1st array element contains the 2nd array element.
Suppose, the 1st array element is :: “we can not find a solution for this”
the 2nd array element is :: “find a solution”

To achieve this, I am using a sequence and I am writing the label like:

%errorDetailDoc/Events/ErrorDump% = /%ErrorHandlingProperties/properties/ErrorCategory/NetworkException/NetworkError%/

But this is not working.
Can somebody please help me on this.

Regards
Jyoti

Jyoti – why don’t you use string in-built functions. Please give a try and let me know for any issues.

Thanks,