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 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 need to add (n) hard spaces ( ) before a string, so it indents the > > string a variable amount depending on its level in a hierarchy. I know > > I've done something like multiply a character by a variable but I'm > damned > > if i can remember how. > > > > I tried #(n * " ")# but it doesnt work. You can't convert a > > character to a number to multiply it. So how do I add (n) spaces to a > > string? > > > > > > -- > > Cheers > > Mike Kear > > Windsor, NSW, Australia > > Adobe Certified Advanced ColdFusion Developer > > AFP Webworks > > http://afpwebworks.com > > ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359358 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm