How to type a TAB character on an iPhone
I'm editing a plain text file on my iPhone and need to type a TAB (\t
) character. However, I am unable to find it and starting to wonder if it even exists.
Anyone able to help me out?
following answer is not to insert tab, but for indent line.
(currently 2016/05) for the user of iPhone while using Note app,
- on the line you want to indent, touch screen on the current cursor
- then pop-up appear for more editing, you can select indent among of these.
Using keyboard text replacement:
- Use OS X to create a new note in Notes which can by synched to your iOS device.
- Using OS X keyboard, type a tab character in a note.
- From your iOS device, select and copy the tab character, then go to Keyboard → Text replacement → create new phrase.
- Paste the tab character into it and add another character at the end. You can't create an empty "TAB" or "SPACE" phrase, in my case I added "-" at the end.
- Choose a shortcut you prefer such as "tab", "/tab".
- Create a new shortcut in the new Apple Shortcuts app.
- Add a Text element and type %09 in it.
- Add a URL Encode element and set it to decode.
- Add a Copy to Clipboard element.
- Save and use.
After running the shortcut there is a tab character in the clipboard.
For this you only need an iOS device with the free Apple Shortcuts app found on the App Store.
I keep a list of special characters here: http://dontpad.com/sy