1x=AB; echo "${x#$'\x41'}"
2