-3

String prod="pizza cafe",i want to print "PizzaCafe" .How to do that in Asp.net?i want to minimize space between pizza and cafe?

String abc=TextBox1.Text; if TextBox1.Text="pizza cafe",i want to convert it to "PizzaCafe" row.Elements.Add(new ListEntry.Custom() { LocalName = "name", Value = TextBox1.Text });

user3006378
  • 21
  • 2
  • 4

1 Answers1

0
abc.Replace(" ", string.empty);
Robert Harvey
  • 178,213
  • 47
  • 333
  • 501
Dips
  • 228
  • 2
  • 4
  • 22