StringsMaxLength Method
Get a string with the specified maximum length.
Namespace: Aliquo.CoreAssembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
public static string MaxLength(
Object text,
int length
)
Public Shared Function MaxLength (
text As Object,
length As Integer
) As String
- text Object
- Text used.
- length Int32
- Maximum length of the chain to obtain.
StringString with the substring from the start position and with the indicated length up to the maximum length of the text.
Empty if the text is empty or the index exceeds the length of the text.