More a Java Q

In PHP I can do
if (stristr($myString, "findThis")) $myString = str_replace("arrayofSearches"," arrayofReplacements",$myString);

Is there something similar in Interpreted Java in SS?
Or even a strip_tags($myString, ""); ?

Using strip html in the Token edit causes
tags when saved to a file to be replaced with \n and it also does not seem to strip partial tag matches:

some text
or
some text

I can't match between the

as the tags only appear in some of the entries and not others.

Thank you,

More a Java Q

Excellent! Thank you so much Scott! :)

More a Java Q

Ryan,

In interpretive java you can use the following.

replaceAll&#40;"<&#91;^<>&#93;*>", ""&#41;;

It allows you to use regular expressions in the first input.

Here's an example implementation.

Title = prepareStringForOutput&#40;dataRecord.get&#40; "TITLE" &#41;&#41;;

String prepareStringForOutput&#40; String value &#41;
&#123;
        if &#40;value != null&#41;
        &#123;
                value = value.replaceAll&#40;"<&#91;^<>&#93;*>", ""&#41;;
                value = value.trim&#40;&#41;;
        &#125;
        return "\"" + &#40; &#40;value==null || value.equals&#40; "