ANSWERS: 1
  • General parsing is done using tokens delimiters which deliniate the string entered by the user. Most, if not all, useful command line applications have command line arguments or parameters that can given to the application for parsing. Most command line arguments are separated by a '/' or a '-'... sometimes white space is used. These characters that separate command line aruments are called tokens delimters. So... when the user enters a string: 1) You need to know something about the string (what is valid input, what will be used as tokens deliniators, etc) 2) Search the strings for the deliniators and caching or saving each string separated by the delimiter. These saved strings are called tokens. Your string is now parsed. There are a lot of ways to perform this task and a lot of them are more efficient this. This is just a general guideline.

Copyright 2023, Wired Ivy, LLC

Answerbag | Terms of Service | Privacy Policy