StringExt extension

on

Properties

toDouble double

Available on String, provided by the StringExt extension

no setter
toInt int

Available on String, provided by the StringExt extension

no setter

Methods

calculateReadingTime() int

Available on String, provided by the StringExt extension

Calculate the reading time
toDuration() Duration

Available on String, provided by the StringExt extension

Assumes a string (roughly) of the format '\d{1,2}:\d{2}'
toSentenceCase() String

Available on String, provided by the StringExt extension

toTitleCase() String

Available on String, provided by the StringExt extension