Some handy JS/AS String prototype methods…