Add code to the example
Merge pull request #12513 from nategood/patch-1

Add code for the plainText example