Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
文字列の末尾と先頭から特定の文字を削除したい。
例:
何か案が
string s = ";Maro;Mike;Tim;"; string s2 = s.Trim(';');
これを試して:
input.Trim(";".ToCharArray())