Add overflow checking for str::get
with inclusive ranges
#42428
Merged
str::get
with inclusive ranges
#42428