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


This function is available since LibreOffice 6.0.


REPLACEB( Text ; Position ; Length ; NewText )

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

Position: the character position from which text is to be replaced.

Length: the number of characters to be replaced.

NewText: the text to be inserted.


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

Please support us!