archethic-node icon indicating copy to clipboard operation
archethic-node copied to clipboard

Add `String.replace/3` in the Smart Contract's library

Open samuelmanzanera opened this issue 1 year ago • 0 comments

Adding a function to help to replace part of string would be really helpful in order to build reactive SC and reduce size of data hosted on chain. This way we can use some templating approach to combine and format data based on context.

String.replace(src, pattern, replace)

samuelmanzanera avatar Oct 05 '23 14:10 samuelmanzanera