StringBuffer:length()

Return the current length of the string stored in the StringBuffer.

Example

length = sb:length()