Tells if the string
s ends with the string
null, the result is unspecified.
end is the empty String
"", the result is true.
Replace all occurrences of the String
sub in the String
s by the
sub is the empty String
by is inserted after each character
by is also the empty String
s remains unchanged.
This is a convenience function for
by are null, the result is unspecified.