Use the namespace System.Globalization
VB.NET
VB.NET
| |
| Dim myString As String = "syncFusion deVeloPer sUppOrt" |
| ' Creates a TextInfo based on the "en-US" culture. |
| Dim TI As TextInfo = New CultureInfo("en-US", False).TextInfo |
| Response.Write(TI.ToTitleCase(myString)) |
C# |
| |
| string myString = "syncFusion deVeloPer sUppOrt"; |
| // Creates a TextInfo based on the "en-US" culture. |
| TextInfo TI = new CultureInfo("en-US",false).TextInfo; |
No comments:
Post a Comment