Jump to content
Sign in to follow this  
stefangs

strip tabs in text fields

Recommended Posts

i'd like to strip tab characters from a text field. i thought the easiest way to do this would be:

Set Field ["textfield", "Substitute (textfield, "tabchar", "")"]

but i can't see how to insert the tab character into the above formula. is there a way to do this in native FM, rather than 'export text - process in text program - import'.

Share this post


Link to post
Share on other sites

FM will insert and delete tab characters, the catch is that you have to copy and paste the tab character into a field or calculation in FM so it is available for your replace statements. Copy and Paste will work. On the Mac (were there is more need to strip/replace characters from PC files) there is a neat freeware app called Character Assassin that allows you to specify any ASCII character and copy it to the clipboard.

-bd

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.