use the foreach loop for each char charcter and print the result as per ur requirement.I have use it in my Asp.net page.
String Input = "Hello";
foreach (Char ch in Input)
{
Response.Write( ch);
}