[NAME]
ALL.dao.type.string.method.chop

[TITLE]
chop( self :string )

[DESCRIPTION]


     
   1  chop( self :string )
     
Chop off EOF, \n and \r from the end of a string. If the string is a MBS and contains at
least 95% bytes with valid UTF-8 encodings, the string is assume to be a UTF-8 string,
and any bytes at the end with invalid UTF-8 encodings are chopped off as well.