does Open Office BASIC support function replace(string,search string, replace with)?
Open Office replace()
3.3k views Asked by tomasBULL At
3
There are 3 answers
0
On
Replaces part of a text string with a different text string. Syntax:
REPLACE(originaltext; startposition; length; newtext)
in originaltext, removes length characters beginning at character startposition, replaces them with newtext, and returns the result.
startposition and length must be 1 or more.
Example:
REPLACE("mouse"; 2; 3; "ic")
returns mice. Beginning at character position 2, 3 characters (ous) are removed and replaced by ic.
Yes, the function is
SUBSITUTE(input, search_text, replace_text[, occurrence])
Examples:
Here is the official documentation