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.
文字列の最後の文字の前にコンマを置く必要があります。
例えば:
入力: 101919 = 出力: 10191,9
それを行う最善の方法は何ですか?
if (input.Length > 0) { input = input.Insert(input.Length - 1, ","); }
挿入方式の場合
strTarget = strTarget.Insert( srtrTarget.Length -1, ",");