SgDotNet
Singapore Professional .NET User Group -For Cool Developers

Code snippet - 0006

Latest post 04-20-2005 9:36 AM by ericwsw. 0 replies.
  • 04-20-2005 9:36 AM

    • ericwsw
    • Top 50 Contributor
    • Joined on 05-04-2004
    • Singapore
    • Posts 82

    Code snippet - 0006

    String

    Convert a String to Title Case

    ' Convert a String to Title Case

     Dim a As String = "string to convert"
     Dim b As String = Strings.StrConv(a, VbStrConv.ProperCase)

    '  Result : b = 'String To Convert'

    Convert a String from Traditional Chinese to Simplified Chinese

    Dim b As String = Strings.StrConv(SomeString, VbStrConv.SimplifiedChinese)

    and more, please refer to Strings.StrConv

Page 1 of 1 (1 items) | RSS
Copyright SgDotNet 2004-2008
Powered by Community Server (Commercial Edition), by Telligent Systems