I am working on a passion project to create a practical onboarding manual for web3 developers. It's under heavy editing and a work in progress.
Currently, I am working on the Strings section. I'd figure as the cost of interacting with smart contracts drops due to layer-2s, some amount of string manipulation might be useful under the right context.
- What is the best practice for splitting a string in Solidity? Strings have few, if any, methods attached to them.
- Is there a secure way to have something equivalent to
- Should any string manipulation just be handled client side and the updates pushed to the contract?
- Are there any circumstances where on-chain string manipulation might be useful?
Additionally, if anyone has any feedback on any other part of the website, that would be awesome.