public string CutString(object inString, int len)
{
if (len <= 0)
return inString.ToString();
if (System.Text.Encoding.Default.GetBytes(inString.ToString().Trim()).Length <= len)
Return inString.ToString();
return RTS.Lib.Common.Input.GetSubString(inString.ToString(), len) + "…;
}