Aracılığıyla paylaş


Text.Replace

Sözdizimi

Text.Replace(
    text as nullable text,
    old as text,
    new as text
) as nullable text

Hakkında

Metin değeri old'ın, metin değeri text içindeki tüm geçtiği yerlerin, newmetin değeriyle değiştirilmesinin sonucunu döndürür. Bu işlev büyük/küçük harfe duyarlıdır.

Örnek 1

Bir cümledeki her "the" ifadesini "a" ile değiştirin.

Kullanım

Text.Replace("the quick brown fox jumps over the lazy dog", "the", "a")

çıkış

"a quick brown fox jumps over a lazy dog"