StringUtilsBreakLines Method (String, Int32, String, Boolean) |
Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Breaks the specified string into a multi-line string.
Namespace:
Tangosol.Util
Assembly:
Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
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