In String.replace("\c","") what ASCII value is ""?

Posted by Tom on Stack Overflow See other posts from Stack Overflow or by Tom
Published on 2010-06-02T07:01:26Z Indexed on 2010/06/02 7:03 UTC
Read the original article Hit count: 139

Filed under:

Hi, im just writing my own replace method for any weird characters and i used the ASCI value 0, null to replace unwanted characters, i was hoping for them to be 'deleted', but this doesnt work. A gap just appears in the string.

What exactly does String.Replace() do when removing a character for ""? Does it shift them all down and then 'delete' the final character or something?

© Stack Overflow or respective owner

Related posts about string