By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,007 Members | 998 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,007 IT Pros & Developers. It's quick & easy.

Convert to HTML escape char API

P: 2
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
Jul 9 '07 #1
Share this Question
Share on Google+
3 Replies


TRScheel
Expert 100+
P: 638
I assume you mean for HTML/XML?
Jul 9 '07 #2

Plater
Expert 5K+
P: 7,872
.NET has it built in to the URI object (I think).
They have Escape(string) and UnEscape(String)
Jul 9 '07 #3

P: 2
.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
Jul 11 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.