6NPxv‖

FH3yx‖REPLACEB

djAL7‖Returns text where an old text is replaced with a new text, using byte positions.

tip

75SZe‖This function is available since LibreOfficeDev 6.0.


ebLBc‖Syntax

Fd4SC‖REPLACEB( Text ; Position ; Length ; NewText )

uBLSC‖Text: A text expression or reference to a cell containing a text expression in which the bytes are to be replaced.

PkyHB‖Position: the byte position from which text is to be replaced.

AsHs8‖Length: the number of bytes to be replaced.

UuACG‖NewText: the text to be inserted.

GAZG2‖Examples

QH3SH‖=REPLACEB("ᄩᄔᄕᄜᄝᄞᄠᄢᄣᄫᄬᄭᄮᄯᄲᄶ";4;1;"ab") returns "ᄩ abᄕᄜᄝᄞᄠᄢᄣᄫᄬᄭᄮᄯᄲᄶ" .