0

How to repeat a string adding a white space in between ? $str(ho, 3) will return hohoho and I want ho ho ho

Wicelo
  • 2,358
  • 2
  • 28
  • 44

1 Answers1

0

Use the $chr identifier.

$str(ho $chr(32), 3)
Orel Eraki
  • 11,940
  • 3
  • 28
  • 36
  • it's working thanks can you help me with my other problem http://stackoverflow.com/questions/33861748/script-to-generate-random-string-not-working – Wicelo Nov 22 '15 at 23:59