Product Update

Use Automation Rules to Correct Capitalization

Carlyn Manly
2019-09-28
1 Min Read

The Automation Rules functionality now offers two more functions for the manipulation of text strings.Β Β These the two functions were specifically added to complement the upcase and downcase functions that were already available.Β Β The upcase function replaces each lowercase character in a text string with its equivalent capital character.Β Β Similarly, the downcase function replaces the capital characters with their equivalent lowercase characters.

The two new functions are:

  • capitalize – Downcases a text string and then capitalizes only its first character.
  • titleize – Downcases a text string and then capitalizes the first character of each word in the string.
Automation rule expressions with capitalize and titleize

A β€˜word’ is defined here as a part of the string that has a word boundary at its start and end.Β Β A word boundary is obviously found at the very start and the very end of the string, and it is also a space character, the @ symbol, a full stop, etc.

The new titleizeΒ Β function will be especially useful for providing consistency in the way the names of people are registered.Β Β This function can be included in the SCIM User Automation Rules.