MATLAB: Token = strtok(str) Looking for Examples

MATLABstrtok

token = strtok(str) parses input character vector str from left to right, returning part or all of that character vector in token. Using the white-space character as a delimiter, the token output begins at the start of str, skipping any delimiters that might appear at the start, and includes all characters up to either the next delimiter or the end of the character vector. White-space characters include space (ASCII 32), tab (ASCII 9), and carriage return (ASCII 13).
Could you please give an example with that format and explain what is going on? I checked the examples on the original webside but, there is no example in that format.
Any kind of help is appreciated. Thank you in advance.

Best Answer

It's easier to use.