limit string length in vb.net code example Example: limit string length in vb.net STRING.substring(0, Math.Min(20, STRING.Lenght))