def normalize_string(pString):
    """
        Trims leading and trailing whitespace characters. Capitalizes the string

        Args:
            pString: String

        Returns: Normalized string
    """
    return pString.strip().title()