Skip to main content

prepend_article

Function prepend_article 

Source
pub fn prepend_article(text: &str, language: Option<&str>) -> Result<String>
Expand description

A title with an article written after a comma at its end put back in front, The Ale is Dear for Ale is Dear, The: music21’s prependArticle. language is a code from ARTICLES; with none, every language’s articles are looked for. Text with no such article is handed back as it is.

§Errors

A language ARTICLES has no articles for.