Linqを使ったやり方です。
using System.Linq;
string label = "あいうえお\r\n";
label = new string(label.Where(c => !char.IsControl(c)).ToArray());
Go to list of users who liked
More than 5 years have passed since last update.
Linqを使ったやり方です。
using System.Linq;
string label = "あいうえお\r\n";
label = new string(label.Where(c => !char.IsControl(c)).ToArray());
Register as a new user and use Qiita more conveniently
Go to list of users who liked