Skip to content

replace

Algorand TypeScript


Algorand TypeScript / op / replace

replace(a, b, c): bytes

Defined in: op.ts:3421

Copy of A with the bytes starting at B replaced by the bytes of C. Fails if B+len(C) exceeds len(A) replace3 can be called using replace with no immediates.

bytes

uint64

bytes

bytes

Native TEAL opcode: replace3 Min AVM version: 7