Call it useful, call it educational, call it a Recursive Function to repeat text

Document created by David Moyer on Oct 24, 2016Last modified by David Moyer on Dec 19, 2016
Version 4Show Document
  • View in full screen mode

Hey y'all,

I've seen, many times, a very clever use of Substitute ( GetAsText ( 10^x - 1 ); "9"; $text ) to repeat a string of $text, x times.  But x has a limit of 800 400.  This function has a limit of 9,999.  And, it is a super-simple example of a recursive function.  Enjoy ...