Syntax
| string = stringclassoject.toString
|
---|---|
Description
| Returns a UTF8-decoded string.
If the contents of the StringClass object containts UTF8 formatted characters, this function will return the original text. This function also detects if no UTF8 encoding exists and will return the native contents.
|
See Also
| |
Example
| Sub Main
Dim myStr As New StringClass
myStr = "Türkiye"
Debug.Print myStr.toString 'Türkiye
myStr = "Native text" Debug.Print myStr.toString 'Native text
End Sub
|