Creating a Blank String

QUESTION: I would like to create a blank string of length 1024. (That is, my string contains 1024 spaces.) What is the best way to do this in IDL?

ANSWER: The best way to do this is to simply use the ASCII character representation of the space character, which is 32B, like this:

   blankString = String(Replicate(32B, 1024))

Web Coyote's Guide to IDL Programming