Click or drag to resize

TextUtilsReplaceLineBreaks Method

Returns a new string in which all line breaks (different variants) of a specified string are replaced with another specified string.

Namespace:  PDTec.IceNet.Sdk.Utils
Assembly:  PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
public static string ReplaceLineBreaks(
	string s,
	string newValue
)

Parameters

s
Type: SystemString
The string to be processed.
newValue
Type: SystemString
The string to replace all line breaks of s.

Return Value

Type: String
A string that is equivalent to s except that all line breaks are replaced with newValue. If no line breaks are found in s, the method returns s unchanged.
See Also