#Exception unhandled message in x-string?? What am I doing wrong?

5 messages · Page 1 of 1 (latest)

dusty wolfBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.

halcyon rose
#

substr throws an exception when n is greater than the length of the string

#

specifically std::out_of_range

#

because what do you expect to get from outside the string?

dusty wolfBOT
#

Thank you and let us know if you have any more questions!

This thread is now set to auto-hide after an hour of inactivity