1
Contributor
1
Reply
2
Views
8 Years
Discussion Span
Last Post by bokac
0

Don't worry i did it my self :P

char [] ags = myString.ToCharArray();
			
			string finalString = string.Empty;
			string new_ch = String.Empty;
			foreach (char ch in ags)
			{
				if(char.IsUpper(ch))
				{
					new_ch = ch.ToString().Replace( ch.ToString(), Convert.ToString( " " + ch.ToString().ToLower() ) );
				}
				else
				{
					new_ch = ch.ToString();
				}
				finalString += new_ch;
			}

			Response.Write(finalString);
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.