As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.
I am currently printing a report that contains the employers of people. Some employers have a '&' in their name, which ruins things. I am currently using
which is supposed to replace an ampersand with &|, but it still does not work. Is there any other way to do this?This message has been edited. Last edited by: ccollier,
I've dealt with this. Webfocus won't allow you to search for &, but you can get around that by telling it search for the &| with the | removed. Example below:
Part one - search for this character STRIP(2, '&|', '|', 'A1')
Part Two - use replace characters searching for character in part one REPLACE(EMPLOYER, part_one , '&||');
Full code REPLACE(EMPLOYER, STRIP(2, '&|', '|', 'A1'), '&||');