|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
String replaceI have a string "56789916" I want to replace last digit of this string from
6 to 0. i.e "56789910". How can I do that. Thanks in advance Hello Seema,
Easiest solution if you donot want to convert the string back to int is: str = str.Remove(str.Length - 1, 1) & "0" Hope it helps
1 Variable - 2 Forms
Co-existing ASP.NET 1.1 and 2.0??? Accessing Structure Members Communication between threads Words to Number Detect TcpClient Connection dropped Printing on a new page Excel already runnig, how to update with VB How to change ConnectionString for DataSet at runtime? use of mouse scroll in my crystal report viewer |
|||||||||||||||||||||||