lower
Convert text to lowercase.
📝Syntax
res = lower(str)
📥Input Arguments
Parameter Description
str character array, string scalar, string array, or cell array of character vectors.
📤Output Arguments
Parameter Description
res text converted to lowercase with the input shape preserved.
📄Description

lower converts character arrays, strings, and string arrays to lowercase.

The shape of the input text is preserved in the result.

💡Examples
Convert a string to lowercase.
txt = lower("NelSon")
🔗See Also
uppertolower
🕔Version History
Version Description
2.0.0 initial version
Edit this page on GitHub