Random methods on strings