getQuoteByIndexString

Fetches a quote given an index.

version(WithQuotePlugin)
private
getQuoteByIndexString
(
const Quote[] quotes
,,
out size_t index
)

Parameters

quotes Quote[]

Array of Quotes to get a random one from.

indexString string

The index of the Quote to fetch, as a string, potentially with a leading octothorpe.

index size_t

out reference index of the quote selected, in the local storage.

Return Value

Type: auto

A Quote, selected based on its index in the internal storage.