home bbs files messages ]

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

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

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

   Message 8,867 of 10,840   
   build to Smokey Joe   
   Re: checking for spaces   
   09 Oct 04 10:43:48   
   
   From: build02DELTHIS@datafast.net.au   
      
   Smokey Joe wrote:   
      
   > Thank you to everyone.   
   >   
   > There is a language where you can say if x = spaces etc.   
   > To me that seems "clean".   
   >   
   > Smokey   
      
   G'day Smokey,   
   seems silly but ...   
   If x = " " then ...   
      
   For i = 1 to len(myString)   
       x = mid(myString,i,1)   
       If x = " " then   
          myString = Replace(myString, " ", "")   
       end if   
   next i   
      
   untested but you'll figure it out, I hope.   
   in VB select a keyword i.e. Replace then press F1.   
   cheers   
   build   
      
   --- 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