Skip to main content
Question

Bug in StringReplacer

  • November 18, 2016
  • 6 replies
  • 14 views

Forum|alt.badge.img

Good morning

I'm trying to replace some HTML code characters like (<) using Stringreplacer for a XML text. The strange thing is that not all characters are replaced. Few lines in the middle of the text kept the code character < (please check attached image below)

Any ideas ?

Thank you

6 replies

david_r
Celebrity
  • November 18, 2016

I'm not sure I understand, "&lt;" isn't the same as "<" for the StringReplacer. Is that maybe the case here?


redgeographics
Celebrity
Forum|alt.badge.img+50

I'm with @david_r, if you use an Inspector before the StringReplacer, do you see "<" or "<"?


itay
Supporter
Forum|alt.badge.img+17
  • Supporter
  • November 18, 2016

Agree, try "&alt;" instead or in combination with "<"


Forum|alt.badge.img
  • Author
  • November 21, 2016

Good morning everyone and thank you very much for your answers.

Using an inspector before the StringReplacer show this result:

Actually as I Said before the StringRepplacer did all the changes in the text except for some few lines.

Thank you very much


Forum|alt.badge.img
  • Author
  • November 21, 2016

I changed the location of the StringReplacer and this time the result is very good. I have no more of these HTML code characters.

Thank you and best regards.


Forum|alt.badge.img
  • November 26, 2016

May be, use a python caller to search and replace all lines of HTML code.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings