diff --git a/Modules.Language/StringEx.vb b/Modules.Language/StringEx.vb index 232fc76b..a4cb6f4d 100644 --- a/Modules.Language/StringEx.vb +++ b/Modules.Language/StringEx.vb @@ -1,6 +1,12 @@ Imports System.Runtime.CompilerServices Public Module StringEx + ''' + ''' Truncates a string to the specified length if it exceeds that length. + ''' + ''' The string + ''' The maximum string length + ''' The truncated string Public Function Truncate(pString As String, pLength As Integer) As String If String.IsNullOrEmpty(pString) Then Return pString