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:359356 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm