"sternr" <St****@gmail.comwrote in message
news:11*********************@k21g2000cwa.googlegro ups.com...
Is there a way to duplicate a certain string multiple times?
I.E: I've got the following string: "<0>" and would like to create:
"<0><0><0><0>".
Is there a CLR API for this behavior or should I create this function
myself?
You can duplicate a single character n number of times:
string strTest = new String(char, n);
but not an actual string.
However, as others have pointed it, a custom function to do what you want is
not particularly challenging...:-)