sentence: for function that manipulate strings , modern object-oriented languages , like c# and java have immutable strings and return a copy ( in newly allocated dynamic memory ) , while others , like c manipulate the original string unless the programmer copies data to a new string .