[過去ログ]
ふらっと C#,C♯,C#(初心者用) Part141 (1002レス)
ふらっと C#,C♯,C#(初心者用) Part141 http://mevius.5ch.net/test/read.cgi/tech/1544839627/
上
下
前次
1-
新
通常表示
512バイト分割
レス栞
抽出解除
レス栞
このスレッドは過去ログ倉庫に格納されています。
次スレ検索
歴削→次スレ
栞削→次スレ
過去ログメニュー
346: デフォルトの名無しさん (ワッチョイ f1da-qnWR) [sage] 2019/01/19(土) 17:07:22.10 ID:FJgPPckz0 脊髄反射で書いたので添削頼む。 public static string[] GetHW(string input) { string[] returnval = new string[2]; string[] temp = input.Split('+','-','*','/'); if (temp[0].StartsWith("w", StringComparison.Ordinal)) temp[0] = temp[0].TrimStart('w').Insert(0, "tmpW="); else if (temp[0].StartsWith("WW", StringComparison.Ordinal)) temp[0] = "tmpW=\" \""; else temp[0] = "それ以外の何か"; if (temp[1].StartsWith("h", StringComparison.Ordinal)) temp[1] = temp[1].TrimStart('h').Insert(0, "tmpH="); else if (temp[1].StartsWith("HH", StringComparison.Ordinal)) temp[1] = "tmpH=\" \""; else temp[1] = "それ以外の何か"; return temp; } http://mevius.5ch.net/test/read.cgi/tech/1544839627/346
366: デフォルトの名無しさん (スップ Sd73-t+p0) [sage] 2019/01/21(月) 07:27:48.21 ID:V744VEzgd >>346 >>348 ありがとうございます!調べてやってみます! http://mevius.5ch.net/test/read.cgi/tech/1544839627/366
メモ帳
(0/65535文字)
上
下
前次
1-
新
書
関
写
板
覧
索
設
栞
歴
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.040s