home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch.nt      Fun with Windows NT batch files      68,980 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 67,022 of 68,980   
   John Gray to All   
   Transform string to the same number of h   
   23 Aug 17 05:32:45   
   
   From: jgqued@gmail.com   
      
   For "underlining" purposes I want to transform a single word, replacing each   
   letter by an equals sign or perhaps a hyphen.   
      
   I can do this via a looping mechanism, letter by letter, but is there a more   
   elegant method requiring one or just a few lines?   
      
   set original=SingleWord   
   transforms to   
   set underline=----------   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca