-
Notifications
You must be signed in to change notification settings - Fork 7
delimiters()
CreativeRobotics edited this page Sep 5, 2020
·
1 revision
String delimiters()
Commander& delimiters(String myDelims)
Set or get a String containing delimiters.
Either accepts or returns a String object with the delimiters that are used to mark spaces between items in the payload, and the end of a command.
By default the delimiters are:
- = (equals)
- \ (back slash)
- / (forward slash)
- , (comma)
- : (Colon)
- | (OR)
- SPACE
- TAB
Example: Set delimiters to bracket characters and space
cmd.delimiters("() ");