REPLACE

Replaces part of a text string with a different text string. This function can be used to replace both characters and numbers (which are automatically converted to text). The result of the function is always displayed as text. If you intend to perform further calculations with a number which has been replaced by text, you will need to convert it back to a number using the VALUE function.

Матни рақамдоштаро дар нохунак гиред, то кӣ рақам ба матн табдил наёбад.

Синтаксис

REPLACE("Text"; Position; Length; "NewText")

Text матни қисмаш ивазшаванда.

position мавқеъи ивазкунӣ.

length шумораи рамзҳои ивазшавандаи матн.

new text матни нав, ки ба матни ивазшаванда дохил мешавад .

Намуна

REPLACE("1234567";1;1;"444") натиҷа "444234567". Як рамз дар ҷаи 1 бо матни нав пурра иваз мешавад.

Please support us!