Add a doctest for the std::string::as_string method.

Change Example to Examples.