Create RemoveEndCharacters

Remove characters at the end of a string.