Joost Miltenburg Posted April 21, 2015 Posted April 21, 2015 L.S.,I guess this should be simple but I seem only to be successful in part. From I website I get data which in stead of <tag> returns <tag> I wish to replace those < en > However a standard substitute does not work. Escaping the & with \& does not work either. Does someone have a solution ?
comment Posted April 21, 2015 Posted April 21, 2015 (edited) a standard substitute does not work. Not sure what you mean by that. A "standard substitute" like this: Substitute ( text ; [ "<" ;"<" ] ; [ ">" ; ">" ] ) will return "<tag>" when text contains "<tag>". There are no reserved characters here and nothing to escape. You will probably want to add: [ "&" ; "&" ] to that. --P.S. There's probably a better way to get from the origin to the destination - but you're not showing us the big picture. Edited April 21, 2015 by comment
eos Posted April 21, 2015 Posted April 21, 2015 Doesn't Substitute ( "<span>" ; [ "<" ; "<" ] ; [ ">" ; ">" ] ) return "<span>"? 1
Recommended Posts
This topic is 3561 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 accountSign in
Already have an account? Sign in here.
Sign In Now