StringUtilsBreakLines Method (String, Int32, String, Boolean) |
.NET API Reference for Oracle® Coherence Community Edition
(14.1.1.0)
E55634-01
Breaks the specified string into a multi-line string.
Namespace:
Tangosol.Util
Assembly:
Coherence (in Coherence.dll) Version: 14.1.1.1 (14.1.1.1)
Syntaxpublic static string BreakLines(
string text,
int width,
string indent,
bool isFirstLine
)
Parameters
- text
- Type: SystemString
The string to break.
- width
- Type: SystemInt32
The max width of resulting lines (including the indent).
- indent
- Type: SystemString
A string used to indent each line.
- isFirstLine
- Type: SystemBoolean
If true indents all lines; otherwise indents all but the
first.
Return Value
Type:
String
The string, broken and indented.
See Also