Multiple choice technology programming languages

trim(string) - returns string with leading blanks.

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The trim() function in SAS removes TRAILING blanks from a string, not leading blanks. The statement incorrectly claims it removes leading blanks, making it false. For leading blanks, use left() or trimn().