Skip to content
Enes Okullu edited this page Jul 1, 2024 · 10 revisions

Welcome to the SubtitleParser wiki!

SubtitleParser

Example usage

string[] readResult = GetTextByLines(filePath);

Reading content.

List<SubtitleBlock> subtitleBlockList = ParseSubtitleList(readResult);

Parsing content into SubtitleBlocks.

foreach (SubtitleBlock subtitleBlock in subtitleBlockList)
{
     Console.WriteLine(subtitleBlock);
     //Debug.WriteLine(subtitleBlock);
}

Printing SubtitleBlocks.

Read Content

Trim

SubtitleBlock

SubtitleTimeFormat

Parse

Clone this wiki locally