Element - øḞ
- Replace First Occurrence
Description
Replace the first instance of an item with another item
Overloads
any-any-any
-a.replace(b, c, count=1). See "V" (Replace) for specifics.
Examples
`abcabc` `c` `H` øḞ
=`abHabc`
⟨1|2|3|4|1|2|3|4⟩ 3 6 øḞ
=⟨1|2|6|4|1|2|3|4⟩
⟨1|1|1|1⟩ 1 3 øḞ
=⟨3|1|1|1⟩
`aaaa` `G` `abc` øḞ
=`aaaa`
⟨2|3|4⟩ 2 4 øḞ
=⟨4|3|4⟩
234 2 4 øḞ
=434
234 2 `4` øḞ
=`434`
234 `2` 4 øḞ
=434
`234` 2 4 øḞ
=`434`
`234` `2` 4 øḞ
=`434`