Perl Programming quiz, level Intermediate, question 14
| Question: | The chop function ... |
| Answer 1: | Removes the last character from the string in the parameter. This was the CORRECT answer |
| Answer 2: | Removes the last character from the string in the parameter if, and only if, it is a new line character. |
| Answer 3: | Removes trailing white space, including new line characters, from the string in the parameter. |
| Answer 4: | Removes leading and trailing white space characters from the string in the parameter. |
This was a question from our quiz ... but we have now provided you with
the answer (above) - we prefer to provide you with information rather than to
puzzle you.
|
|