Pluralize Words in AutoIt; Plural Word

Func plural($count, $singular, $plural = "s")
    If $plural == "s" Then
        $plural = $singular & $plural
    EndIf
    Return _Iif($count == 1, $singular, $plural)
EndFunc
View this page on GitHub.
Posted .

Comments

Leave a Reply