<?xml version="1.0" encoding="windows-1252"?>
<node id="372245" title="How can i print N repeated characters?" created="2004-07-06 21:48:10" updated="2005-08-10 10:04:41">
<type id="1857">
categorized question</type>
<author id="11732">
QandAEditors</author>
<data>
<field name="doctext">
How can i print N repeated characters? (in one single line's code or as simple as possible)&lt;br&gt;
e.g
&lt;code&gt;
   print repeat(5,'-');   # print out '-----'
&lt;/code&gt;

thanx</field>
<field name="parent_node">
1826</field>
</data>
</node>
