Additional functions added to the Swift String datatype