2011-03-15から1日間の記事一覧
Dim Str As String = "QWERTY12345456asdfghZXcvBNM" Dim Str2 As String = "25" Dim Str3 As String = "AA(B),CC(D),EE(F)" '左端の1文字を取得 Console.WriteLine(Str.Substring(0, 1)) 'Q '左から3番目の文字から5文字を取得 Console.WriteLine(Str.Subst…
Dim Str As String = "QWERTY12345456asdfghZXcvBNM" Dim Str2 As String = "25" Dim Str3 As String = "AA(B),CC(D),EE(F)" '左端の1文字を取得 Console.WriteLine(Str.Substring(0, 1)) 'Q '左から3番目の文字から5文字を取得 Console.WriteLine(Str.Subst…