[String] close #1 + added trim and slugify method to String and its associated tests