Click or drag to resize

UtilityFixNewlines Method (String, String)

Make sure all newlines in a string have a specific pattern.

Namespace:  Grasshopper
Assembly:  Grasshopper (in Grasshopper.dll)
Syntax
public static string FixNewlines(
	string text,
	string newLinePattern
)

Parameters

text
Type: SystemString
Text to fix.
newLinePattern
Type: SystemString
Newline string to use.

Return Value

Type: String
Fixed string
See Also