Public Function Ellipsize( _
strInput As String, _
Optional MaxLength As Integer = 16 _
) As String
If Len(strInput) > MaxLength Then
Ellipsize = Left(strInput, MaxLength) & Chr(133)
Else
Ellipsize = strInput
End If
End Function
Ellipsize

Leave a Reply