* Added trim, pad_left and pad_right to text * Check MaxStringLen * Added doc * Fixed doc * Moved length check