While (test.IndexOf("  ") != -1)
        test = test.Replace("  "," ");


-------------------------------------------
Bastianello Luciano 
Software Consultant - Apprentice Sorcerer
Tel: 335 8300440 - Fax: 049 58631182
e-mail: [EMAIL PROTECTED] 
e-mail: [EMAIL PROTECTED]
ICQ: 209754422 - MSN: [EMAIL PROTECTED]
------------------------------------------- 


-----Messaggio originale-----
Da: G.Waleed Kavalec [mailto:[EMAIL PROTECTED] 
Inviato: luned� 27 settembre 2004 0.00
A: [EMAIL PROTECTED]
Oggetto: Re: R: R: [Microsofts_C_Sharp] word_counter

In actual code just 

test = test.Replace("  ", " ");

Until the length doesn't change.

Then you have a "squeezed" string.



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/XGgtlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Microsofts_C_Sharp/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to