views:

52

answers:

1

helo frids I have a string..

someting like this

string Fname = name - shiva;

while assigning to the other string I need remove the - in between..

can anybody help me out

thanks

+2  A: 

Did you mean that you have something like this:

string Fname = "name - shiva";

In any case, try:

myString.replace("-", "")

You can customize as needed to meet your needs...

Justin Ethier
The problem I am getting is when I am trying to assing the title to the Jquery grid its not displying the grid.. If I hide title then its displaying.. Thanks
kumar
OK, that was completely unclear from your question. You need to ask clear, straightforward questions if you expect to get meaningful answers. In any case, if you post your actual code and explain things a bit more, we may be able to help you...
Justin Ethier
That is possibly the most unintentionally hilarious misspelling of assign that I've ever seen.
Doresoom
@Doresoom - What makes you think it was mis-spelled! :P
patrick dw
Hilarious and sad at the same time...
Justin Ethier