The length() function in SAS returns the number of characters in a string, counting all characters including spaces and special characters. This is a fundamental string function.
A length() function (as found in many programming and scripting languages) is designed specifically to count and return the number of characters contained in a string. That is exactly its defined purpose, so the statement is true.