Skip to main content

replaceb

Function replaceb 

Source
pub fn replaceb<A: Text, B: Number, C: Number, D: Text>(
    t: A,
    start: B,
    len: C,
    new: D,
) -> FnText4<A, B, C, D>
Expand description

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

documentfoundation->REPLACEB

Syntax:

    REPLACEB( T: Text; Start: BytePosition; Len: ByteLength; New: Text )

Semantics: As REPLACE, but using byte positions.

See also: crate::of::replace(), crate::of::leftb(), crate::of::rightb(), crate::of::midb(), crate::of::substitute(),