I have this string
string lol = "ISTO É APENAS O TESTE DA INFORMAÇÃO";
And the output has to be
string lol = "Isto é Apenas o Teste da Informação";
I made all the first letters of the words upper case but in some words I need to make them all lower case, like, if the word has only 3 letters it remains lower.
How can I do this ?
I already have this code :
string unidade = "DIREÇÃO DE ANÁLISE E GESTÃO DA INFORMAÇÃO";
string lower=System.Threading.Thread.CurrentThread.CurrentCulture.TextInfo.ToTitleCase(unidade.ToLower());
And the output comes :
"Direção De Análise E Gestão Da Informação"
and I want to output to come as
"Direção de Análise e Gestão da Informação"