create singleton methods on string object