将字符 H
替换为 J
。
txt = "Hello World"
txt = txt.@(7)(@(3), @(3))
txt = "Hello World"
txt = txt.replace("H", "J")
txt = "Hello World"
txt = txt.replace('H', 'J')
txt = "Hello World"
txt = txt.replace("H", 'J')
txt = "Hello World"
txt = txt.replace('H', "J")