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,770 of 68,980   
   Tom Del Rosso to All   
   Re: Get String Length   
   02 Sep 21 03:08:01   
   
   From: fizzbintuesday@that-google-mail-domain.com   
      
   JJ wrote:   
   > On Wed, 1 Sep 2021 15:30:18 -0400, Tom Del Rosso wrote:   
   >> Here's a subroutine to get the length of a string that uses   
   >> successive approximation so it runs very fast because it only loops   
   >> 13 times (once for each bit of the resulting number) no matter how   
   >> long the string is. [snip]   
   >   
   > Nice. Would definitely be part of by batch subs library.   
   >   
   > The method could be used as a fast `HasStr` sub. :)   
      
   What does HasStr do? Find a substring?   
      
      
   --   
    Defund the Thought Police   
      
   --- 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