Jump to content
Server Maintenance This Week. ×

search text for duplicate values


This topic is 5125 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hello, I'm trying to create a custom function that will search a text field for all duplicate phrases that start with a particular character (i.e., "{") and ends with a particular character (i.e., ":") and output a list of those.

For example, if my text is:

"{Memory: The patient's memory was measured in the above average range for visual stimuli.

{Memory: On memory tests involving auditory stimuli, the patient's performance was impaired. "

Then I would like the custom function to output: "{Memory"

My reasoning for wanting to do this is difficult to explain, but basically it is part of a larger custom function that reorganizes reports based on headers that are already consistently marked with the a "{" at the beginning and a ":" at the end.

Thanks for the help!

Link to comment
Share on other sites

This topic is 5125 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.