2020-06-04から1日間の記事一覧

C#でstringの中の最後尾の文字列を調べる

C#

EndsWith()を使う if(!str.EndsWith("\r\n")) str+="\r\n"; ネタ元 http://www.woodensoldier.info/computer/csharptips/38.htm