Code for the tutorial Core Foundation - String