QuestionQ2

Data Manipulation

To determine how many characters were scraped from a website into an ExtractedText String variable, while excluding leading and trailing white-space characters, what should a developer use?

  • A ExtractedText.Length
  • B ExtractedText.Trim.Length
  • C ExtractedText.Trim.Chars
  • D ExtractedText.Chars
Explanation

String.Trim() removes leading and trailing white-space characters, and Length returns the number of characters in the resulting string.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!