Thursday, May 8, 2008

vb.net :: string format

is pass in double loo

string format :: http://blogs.msdn.com/kathykam/archive/2006/03/29/564426.aspx

string format :: http://blog.stevex.net/index.php/string-formatting-in-csharp/

FAQ :: http://www.syncfusion.com/FAQ/windowsforms/default.aspx

=====================================

Substring
Dim Email as StringDim DotCom as String
Email = "me@me.com"DotCom = Email.Substring(5, 4)
MsgBox(DotCom) ' get .com

split

'DD MMM YYYY
Public Function splitDate(ByVal theDate As String, ByRef thedd As String, ByRef themm As String, ByRef theyy As String)
Dim split As String() = Nothing
If theDate = "" Then
Else
split = theDate.Split(" ")
thedd = Trim(split(0))
themm = Trim(split(1))
theyy = Trim(split(2))
End If


:: Momiji lo