Hacker News new | past | comments | ask | show | jobs | submit login

Oh. I guess I never thought of strings as immutable because there are so many ways to change them.



Given that they're immutable, you cannot change them. Instead all the operations returns a new, modified, string.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: