ShopToolsUtilFromMultiLineString Method

Convert a multiline string to a series of limited length lines.

Definition

Namespace: ShopTools
Assembly: ShopTools (in ShopTools.exe) Version: 25.2715.4228
C#
public static List<string> FromMultiLineString(
	string source,
	int maxLineLength = 60
)

Parameters

source  String
Reference to the source string that might have a single line of infinite length, or multiple lines.
maxLineLength  Int32  (Optional)
Maximum length of any individual line.

Return Value

ListString
Collection of individual string segments, where one or more of those entries can contribute to a single line of text by including a space continuation at the end of the segment, or can be composed of multiple lines, by ending each segment with a non-space character.

See Also