Dnx_7
asked on
How can i parse and check if a string is in BASE64 format?
Hi experts,
Is there a way to check/parse a string and see if it is a valid base64 ?
because i don't want to do a try/Catch, guess it will slow my system if we don't have base64 string...
Regards
Is there a way to check/parse a string and see if it is a valid base64 ?
because i don't want to do a try/Catch, guess it will slow my system if we don't have base64 string...
Regards
ASKER
Hi,
i'm agree with you but suppose the application receive a string like this : "Hello=/Script"
kind of valid base64?!
Regards.
i'm agree with you but suppose the application receive a string like this : "Hello=/Script"
kind of valid base64?!
Regards.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you!
ABCDEFGHIJKLMNOPQRSTUVWXYZ
also have a look to the following explanation about how a base64 string is made:
http://en.wikipedia.org/wiki/Base64