initcaps
ASP.NET
4
Posts
4
Posters
0
Views
1
Watching
-
hi :) i have need to change the 1st character of the word should in caps along Tostring(). like s="south africa" should s="South Africa" Regards, sri.
I'm not sure if there is a buit in funtion to do that... but just give my idea.. - split the s tring into array of words - capitalize the first character of each word << >>
-
hi :) i have need to change the 1st character of the word should in caps along Tostring(). like s="south africa" should s="South Africa" Regards, sri.
I think there is no built-in function to do that.. use the following.. s = s.Substring(0, 1).ToUpper() + s.Substring(1);
Koushik
-
I think there is no built-in function to do that.. use the following.. s = s.Substring(0, 1).ToUpper() + s.Substring(1);
Koushik