Convert to HTML escape char API

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mickeydev
    New Member
    • Jul 2007
    • 2

    Convert to HTML escape char API

    Hi All,

    I am looking for an API that accepts a string and converts the characters into their corresponding escape char (i.e. < into &lt; & into &amp;). Anyone who have used an API with such functionality?

    Thank you!

    Regards,

    Mickey
  • TRScheel
    Recognized Expert Contributor
    • Apr 2007
    • 638

    #2
    I assume you mean for HTML/XML?

    Comment

    • Plater
      Recognized Expert Expert
      • Apr 2007
      • 7872

      #3
      .NET has it built in to the URI object (I think).
      They have Escape(string) and UnEscape(String )

      Comment

      • mickeydev
        New Member
        • Jul 2007
        • 2

        #4
        Originally posted by Plater
        .NET has it built in to the URI object (I think).
        They have Escape(string) and UnEscape(String )
        Thanks for the reply, I'll give it a try.

        Regards,

        Mickey

        Comment

        Working...