What is the code to be used to trim whitespaces ?
What is the code to be used to trim whitespaces ? Correct Answer let trimmed = (l.trim() for (l in lines));
We can use the above code to trim whitespaces and filter out comments and blank lines.What is the code to be used to trim whitespaces ? Correct Answer let trimmed = (l.trim() for (l in lines));
We can use the above code to trim whitespaces and filter out comments and blank lines.