FormatsString Method
Gets a formatted text string.
Namespace: Aliquo.CoreAssembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
public static string String(
Object value,
int maxLength = 0,
bool useTotalLength = false,
bool cutRight = true,
bool padRight = true,
char paddingChar = '',
bool removeLineBreaks = false
)
Public Shared Function String (
value As Object,
Optional maxLength As Integer = 0,
Optional useTotalLength As Boolean = false,
Optional cutRight As Boolean = true,
Optional padRight As Boolean = true,
Optional paddingChar As Char = ""C,
Optional removeLineBreaks As Boolean = false
) As String
- value Object
- Value to convert.
- maxLength Int32 (Optional)
- Maximum length.
- useTotalLength Boolean (Optional)
- Indicates whether the total length should be used in the case of having a size less than the maximum size.
- cutRight Boolean (Optional)
- Indicates whether the chain is cut from the right if it exceeds the maximum size.
- padRight Boolean (Optional)
- String alignment
- paddingChar Char (Optional)
- Character used to fill the string.
- removeLineBreaks Boolean (Optional)
- Remove line breaks and replace them with a space.
StringString with the value formatted.