[This is preliminary documentation and is subject to change.]
Truncates the string to its limit given as an integer argument.
When the string is truncated, it is appended with three dots (...)
Namespace:
OfficeClip.UtilsAssembly: OfficeClip.Utils (in OfficeClip.Utils)
Version: 8.1.1.0
Syntax
C# |
---|
public static string TruncateStr( string stx, int limit ) |
Visual Basic (Declaration) |
---|
Public Shared Function TruncateStr ( _ stx As String, _ limit As Integer _ ) As String |
Visual C++ |
---|
public: static String^ TruncateStr( String^ stx, int limit ) |
Parameters
- stx
- Type: System..::.String
The input string to be truncated.
- limit
- Type: System..::.Int32
The number of charaters to which the string is terminated.