I am trying to remove the line breaks from a base64 encoded string.   


In a livecode stack I tried
put base64encode(tJSONstring) into tEncodedext
replace "\r\n" with "" in tEncodedtext

That had no effect.

If I tried,

replace return with "" in tEncodedtext

That did remove the linebreaks.

With LiveCode Server (on-rev 3.5 engine)
put base64encode(tJSONstring) into tEncodedext
replace "\r\n" with "" in tEncodedtext

has no effect.

and

replace return with "" in tEncodedtext

also has no effect.

Is there another way to remove line breaks in this string?

Martin




--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Removing-linebreaks-from-base64encoded-string-tp3803116p3803116.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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

Reply via email to