JAVA または C++ では、次のようなことができますmyString.insert(position, word)
。Excel VBA の文字列で同じことを行う方法はありますか? 私のワークシートには、次のような文字列があります: 01 / 01 / 995
、年に 1 を挿入したいので、 にし01 / 01 / 1995
ます。
Dim test_date As String
test_date = "01 / 25 / 995"
test_date = Mid(test_date, 1, 10) & "1" & Mid(test_date, 11, 4)
それを行うための別のより簡単でエレガントな方法はありますか?