Learn R Programming

SRTtools (version 1.2.0)

srt.content: Retrieve Subtitle Text

Description

Retrieve all the subtitle text content from a srt file

Usage

srt.content(srt)

Arguments

srt

vector. The srt file read by srt.read.

See Also

srt.read

Examples

Run this code
# NOT RUN {
srt_path <- system.file("extdata", "movie.srt", package="SRTtools")
srt <- srt.read(srt_path, encoding = 'utf-8')

srt.content(srt)

# }

Run the code above in your browser using DataLab