SubLib Subtitle Library

SubtitleText.GetReplaceEmptyLines Method (String, String)

Gets the text lines merged by the specified line break and replaces the empty lines with the specified replacement.

public string GetReplaceEmptyLines(
   string replacement,
   string lineBreak
);

Parameters

replacement
The text to replace empty lines with.
lineBreak
The line break used to merge the text.

Return Value

The subtitle text.

See Also

SubtitleText Class | SubLib Namespace | SubtitleText.GetReplaceEmptyLines Overload List