Removing specific chars from a string.
Hi guys. Long time since I've been here, but now I require help.
I have an issue where I want to remove a specific character from a string. I have a string which stores a part of a split string. In my test that value was 2' and I need to get rid of the ' part of the string since I cannot CInt the string with it in there. Now there really is no limit to how many integers I can have before the ' and I have a feeling that this info will come in handy. Thanks for any help. :wave:
Re: Removing specific chars from a string.
VB Code:
value1 = value1.Replace("'","")
Re: Removing specific chars from a string.
Thanks! You're a champion ;)