TextBoxの文字列を分割する

"□#1118481"を"#"で分割する場合

 txtArray = txt.Split('#');
これで配列txtArrayに格納される
↓こんな感じ
 txtArray[0] = □
 txtArray[1] = 1118481

参考:
C# 文字列を指定した区切り文字で分割する
http://program571.blog91.fc2.com/blog-entry-27.html
最終更新:2010年01月10日 04:56