Limits on Btoi() in PyTEAL

You can use the subtring opcodes to parse the note and remove the prefix.

btoi panic if the input is too long:

This means that the smart contract fails.