Fix reversed getLength and getText examples

Title says it all. The getLength and getText api examples are swapped, this is to correct that.
Merge pull request #75 from benhutchins/patch-1

Fix reversed getLength and getText examples