Adding n characters to a string

2014-09-24 Thread Mike K
I'm having a brain fade - I know I've done this before but for the life of me I can't find where it was.I hope someone can help me out here before i go crazy ... I need to add (n) hard spaces (nbsp;) before a string, so it indents the string a variable amount depending on its level in a

Re: Adding n characters to a string

2014-09-24 Thread Bill Moniz
I think you're looking for repeatString(string, count). On 25 September 2014 13:54, Mike K afpwebwo...@gmail.com wrote: I'm having a brain fade - I know I've done this before but for the life of me I can't find where it was.I hope someone can help me out here before i go crazy ... I

Re: Adding n characters to a string

2014-09-24 Thread Mike K
Damn!!! Thanks Bill you posted this just seconds before I was about to post that I'd found it. Yes you're right, it's repeatstring( ) that i want. Thanks for your help anyway. On Thu, Sep 25, 2014 at 1:56 PM, Bill Moniz hydro.b...@gmail.com wrote: I think you're looking for