Convert the first letter that occurs in a string to lower case
Source:R/initialChar.R
initialChar.Rd
By default, initialChar finds the first letter that occurs in a string and returns its lower case version. The user may use the "adm" argument to restrict the admissable letters which may be returned (by default this will be all possible lower case letters).
Arguments
- txt
(Required) The string input to process
- adm
(Optional) Regular expression which may be used to restrict the set of letters which will be returned. By default it will allow all lower case letters
- err
(Optional) The error message which will be printed if no admissable letters (as determined by adm) are found. By default, message "Not acceptable value" will be displayed