20100217

To be sure. (Ep. 2 - The strings)

You never know what may be hiding behind an innocent string...

if (body.Length> 17)
{
    try
    {
        output +=  body.Substring(0, 18) + "...";
    }
    catch (Exception ex)
    {
        output +=  body;
    }
}

No comments:

Post a Comment