How to remove a carriage return from a field?

Claire Bradin Siskin cbsiskin at pitt.edu
Wed Jan 18 21:40:52 EST 2006


In my stack, the user enters identifying information into a field, 
and this text is used to build a filename for ftp upload. This works 
fine as long as the user does not enter a carriage return at the end 
of the field. If the user does press "enter," this messes up the 
upload. How can I script it so that any carriage returns are removed 
from the field?

Suggestions for actual scripts would be very much appreciated since I 
am a newbie. :-)

Thanks very much,
-- 
Claire Bradin Siskin
http://edvista.com/claire/



More information about the use-livecode mailing list