Chilkat HOME ASP Visual Basic VB.NET C# Visual C++ C MFC Delphi FoxPro Java Perl PHP Python Ruby SQL Server VBScript
|
Entity DecodingThis example demonstrates how to decode entities in a VB string. (Using the free Chilkat XML ActiveX component) Dim x As New ChilkatXml ' When entity decoded, this message reads: Hello! <CopyRight><CRLF>ABC ZZZ ABC zzz x.LoadXml "<Row Message=""Hello! ©
ABC ZZZ ABC zzz"" />" Dim s As String ' Gets the string, but entities are not automatically decoded. s = x.GetAttrValue("Message") MsgBox s ' Decode the entities. The decoded bytes are treated as ANSI characters ' and converted to Unicode and returned to the (Unicode) VB6 string. s = x.DecodeEntities(s) MsgBox s
|
Need a specific example? Send a request to support@chilkatsoft.com
© 2000-2008 Chilkat Software, Inc. All Rights Reserved.