<pre>function theString T,N  get empty  repeat with C = 1 to N    put T after it  end repeat  return itend theString</pre>