0
Apple cobra Posted 8 years ago
Grammar

Correct/common use of which and where

Hi everyone,

Need some help with a sentence. I'm trying to explain how to use the function _.trim:

Whitespace can be removed at the beginning and end of a string with_.trim(parameter1, parameter2), where parameter1 is the string from which whitespace will be removed and parameter2 is a string with characters that will be treated as whitespace.

For those who want to know about _.trim, go to https://lodash.com/docs/4.17.10#trim .

Questions:

  • Should this sentence be split in 2?
  • Was the comma in front of "where" necessary in the sentence below?

"... parameter2) , where parameter1 is the ..."

  • Could I've also said "the string where characters will be removed from"? Is "from" necessary?
  • Is it correct/common to say "the string in which characters are contained"?
  • Is it correct/common to say "the string which characters will be removed from"?
  • Anything else I need to correct?
  
Free · every Monday

Get the Weekly English Kit 📬

New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.

0 Answers

Related Questions