Escape single quotes in given string

string:create_escaped_single_quotes(STRING $string) : STRING

string:create_escaped_single_quotes('hi there\'s')
#=> "'hi there\\'s'"

Copyright ©2013-2022 SunSed®. All rights reserved.