Richard Gaskin wrote:
Alex Tweedly wrote:
You could try (I did !!) using the trick I saw from Richard a couple
of weeks ago, using a complex filter expression to ensure the right
number of items - e.g.
filter ... pFileName & ",*,*,*,*,*,*,*,*,*,*" but that also fails
the "a,11" case as above.
For grabbing just one line I often just include boundaries around the
text with lineOffset:
put lineoffset(cr& tMyFileame&"," , cr& tFileList)
Because the file names are URL encoded commas become %2C, so I don't
believe there's a risk of getting commas in the name confused with
delimiters.
There is a danger if you urlDecode() them first, which the code sample did.
You're quite right - if you urlEncode() the file name passed in, that is
a much safer, and easier, method.
--
Alex Tweedly http://www.tweedly.net
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: 27/07/2005
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution