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
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
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...