anyone here got a function to find is a string is base64 encoded?

Mark Brownell gizmotron at earthlink.net
Sun Jul 25 11:15:35 CDT 2004


On Sunday, July 25, 2004, at 08:59 AM, FlexibleLearning at aol.com wrote:

> What about...
>
> try
>   put base64decode(tStr) into tStr
> catch errnum
>   return ""
> end try
> return tStr
>
> /H


That's a good idea. What about this for a string test? Base64 is 72 
characters per line. I suppose you could test for the number of 
characters in each line.

Mark



More information about the use-livecode mailing list