Slightly more clever (length isn't actually needed)

put url "file:{yourfile}" into daFile
if daFile = replacetext (daFile,"[^\x20-\x7E\n\r\t]","") then put "Plain 
text."


J. Landman Gay wrote:
> Bill Marriott wrote:
>> put url "file:{yourfile}" into oneFile
>> put replacetext (oneFile,"[^\x20-\x7E\n\r\t]","") into twoFile
>> if length(oneFile) = length(twoFile) then put "It's a plain text file."
>
> That's pretty clever.



_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to