This command will with return a title case version of string. This normally means it will be in upper case.
string totitle "the people were friendly"Would return THE PEOPLE WERE FRIENDLY
NOTE: To read content from standard input we use the -i - option.
echo "the people were friendly" | string -i - totitle Would return THE PEOPLE WERE FRIENDLY