sas functions

Length functions in SAS : LENGTH / LENGTHN / LENGTHC / LENGTHM.

Length functions in SAS : LENGTH / LENGTHN / LENGTHC / LENGTHM.

SAS Length Function: LENGTH is a character function in SAS  used to find the length of the character string. There are 4 variations available in SAS to find the length of a string. These are the LENGTH, LENGTHN, LENGTHC and LENGTHM. The primary objective of all the length function is to return the length of the string however there are few variations in how these functions work and return the length.