I have a survey with a user entered txt field. When the user completes their entry, a button controller allows them to proceed to the next page. I would like to edit the user text field to remove all CRs so the text field is one long string. This will allow for ease of data collection for entry into SPSS.
Can anyone assist me in the correct script to remove any CRs in the text field?
Remove CR's from text field
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Livecode Opensource Backer
- Posts: 8
- Joined: Fri Jul 15, 2011 1:27 am
Re: Remove CR's from text field
This should replace all occurrences.
Look over the Replace function.
http://docs.runrev.com/
Code: Select all
replace CR with "" in field "myInput"
http://docs.runrev.com/
-
- Livecode Opensource Backer
- Posts: 8
- Joined: Fri Jul 15, 2011 1:27 am
Re: Remove CR's from text field
Thank you!