LEN (string [,kind]) Class: Inquiry function - Generic Returns the number of characters in the argument. The argument must be a character expression. The "kind" must be a scalar integer initialization expression. The result is an INTEGER*4 or INTEGER*8 value. If "kind" is present, the kind parameter of the result is that specified by "kind"; otherwise, the kind parameter of the result is that of default integer. If the processor cannot represent the result value in the kind of the result, the result is undefined. The setting of compiler options that specify integer size can affect the result of this function.