Add and Remove string/strip require

Method .strip_heredoc is defined in
active_support/core_ext/string/strip.rb so we need to require it.

[fixes #16677]
Merge pull request #16770 from arthurnn/add_string_strip_require

Add and Remove string/strip require