Based on your example, it would seem Jochen's response is whatyou are
looking for, but, in the interest of completeness, the closest thing to the
Space() function in .Net is one of String's constructors:
int n = 10;
String Spc10 = new String(' ', n); // creates a string of n
spaces.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.