Is the string an honorific?
Checks that the input contains honorifics (a.k.a. titles or salutations).
1 2 3 4 5 6 7
Input to check.
A logical value. If
How severe should the consequences of the assertion be?
TRUE if the input string contains
a valid UK postcode. The assert_* function returns nothing but throws an
error when the
is_* function returns
Single full stops (periods) following a word boundary and preceding a space or the end of the string are stripped. Case is ignored. There is no formal list of official salutations, so this should only be used as a guide, rather than giving a definitive result. Especially note that cultural conventions differ across the world and this function has a UK bias.
Many possibilities borrowed from the Salutation dropdown on the MathWorks account creation page. https://www.mathworks.com/accesslogin/createProfile.do
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.