• Welcome to Valhalla Legends Archive.
 

My Seperate Function

Started by Atom, December 28, 2002, 07:52 PM

Previous topic - Next topic

iago

QuoteIt splits by Spaces except when the spaces are inside quotes. It also ignores double spaces outside of quotes.

I don't think split can do that?
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Grok


Eric

Quote from: iago on April 30, 2004, 06:55 AM
QuoteIt splits by Spaces except when the spaces are inside quotes. It also ignores double spaces outside of quotes.

I don't think split can do that?
Using a combination of Split() and InStr() could.

Adron

Quote from: LoRd[nK] on April 30, 2004, 10:02 AM
Quote from: iago on April 30, 2004, 06:55 AM
QuoteIt splits by Spaces except when the spaces are inside quotes. It also ignores double spaces outside of quotes.

I don't think split can do that?
Using a combination of Split() and InStr() could.

Would split be very useful at all? Unless you mean to find a substring that doesn't contain any "" and then split that separately..

Grok