By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,949 Members | 946 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,949 IT Pros & Developers. It's quick & easy.

what is delimiter?

P: 1
what is delimiter?
Sep 19 '10 #1
Share this Question
Share on Google+
1 Reply


P: 13
Could be anything. Depend on the context. Vaguely one could say it is a defined unit separating data without (necessarily) being part of the data itself.

I.e. in the string "what is", the quotes delimit the string, but are not a part of it. A data stream can have a defined byte-sequence/flag/etc delimiting records; i.e a comma delimited list:

record1,record2,record3

And so on...

One can separate it into two major groups being; 1. string literals, and 2. data.

In the broad sense it can include x^n definitions. A space can be a separator for words. Newline for records in a list, - and so on.

Important to notice and not mix is the term operator, sorted by precedence and associativity:

Expand|Select|Wrap|Line Numbers
  1.  
  2. ----------------------------------------------
  3. Operators                        Associativity
  4. ----------------------------------------------
  5. () [] -> .                       left to right 
  6. ! ~ ++ -- + - * (type) sizeof    right to left 
  7. * / %                            left to right 
  8. + -                              left to right 
  9. <<  >>                           left to right 
  10. < <= > >=                        left to right 
  11. == !=                            left to right 
  12. &                                left to right 
  13. ^                                left to right 
  14. |                                left to right 
  15. &&                               left to right 
  16. ||                               left to right 
  17. ?:                               right to left 
  18. = += -= *= /= %= 
  19. &= ^= |= <<= >>=                 right to left 
  20. ,                                left to right 
  21. ----------------------------------------------
  22.  
  23.  
Also note that in C, semicolon is a statement terminator and not a separator. While i.e. pascal defines it as a statement separator.
Sep 19 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.