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,788 of 68,980   
   Tom Del Rosso to All   
   Re: Get String Length   
   05 Sep 21 12:53:16   
   
   From: fizzbintuesday@that-google-mail-domain.com   
      
   JJ wrote:   
   > On Fri, 3 Sep 2021 03:07:18 -0400, Tom Del Rosso wrote:   
   >> JJ wrote:   
   >>> On Thu, 2 Sep 2021 03:08:01 -0400, Tom Del Rosso wrote:   
   >>>>   
   >>>> What does HasStr do? Find a substring?   
   >>>   
   >>> Yes. A sub to check the existence of a substring when the index of   
   >>> the substring doesn't matter. It's basically just a sub which finds   
   >>> the index of a substring.   
   >>   
   >> So you're thinking of doing it this way?   
   > [snip]   
   >   
   > Huh? Why are you using string lengths to check the existence of a   
   > substring?   
      
   I don't know! I thought that was what you were suggesting when you said:   
      
   "The method could be used as a fast `HasStr` sub. :)"   
      
   --- 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