First page Back Continue Last page Graphics
isspace FUNCTION
A predicate function.
Takes a character as an input.
Returns True if that character is whitespace.
&& combines whitespace test and not end of string test.
&& relies on short circuit if end of string hit.
The next loop finds end of the current word (whose start is pointed to by i). Note it also has a short circuit && to stop if end of string is hit.