djc728 Posted September 11, 2014 Posted September 11, 2014 Hello All: I have a text field that I'd like to filter on taking only characters A-Z, 0-9 and some special characters like "@#$%, carriage returns and tabs. My problem is I don't know how to specify the Special Characters, Carriage Return and Tab in the Filter script. Anyone? Dom
eos Posted September 11, 2014 Posted September 11, 2014 Use the Char() function to pass the matching ASCII values / Unicode code points; in this case, that would be Char(9) and Char(13),
djc728 Posted September 12, 2014 Author Posted September 12, 2014 Wim, EOS: Thank you both. Had a blonde moment there. ( lol ) Dom
comment Posted September 12, 2014 Posted September 12, 2014 (edited) Filemaker has a special symbol for the carriage return: ¶ There's even a button in the Specify Calculation window for inserting the symbol. Alternatively, you can use Char (13). Regarding the tab, you can either type* or paste an actual tab into the formula (there's no way to type it, AFAIK) or - preferably - use Char (9). --- (*) Using Ctrl+Tab on Windows, Option+Tab on OS X. Edited September 12, 2014 by comment
Raybaudi Posted September 12, 2014 Posted September 12, 2014 (there's no way to type it, AFAIK) On Windows you can type CTRL + TAB
comment Posted September 12, 2014 Posted September 12, 2014 On Windows you can type CTRL + TAB I stand corrected. I am not sure when this started, but I see that you can type a tab on a Mac too, using Option+Tab.
djc728 Posted September 17, 2014 Author Posted September 17, 2014 Thanks all. I learned something new today. Appreciate all the help.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now