I am in my last two exercises and need some assistance starting these as I have no idea what I am doing with these...
1. Write a function replace_all(), such that a call
newString = replace_all(str, substring, newSubstring);
will return a copy of string str with each occurrence of substring replaced by newSubstring.
2. A string is said to be a palindrome if it does not change when the order of its characters is reversed. Write a function that, given a string, returns true if that string is a palindrome and returns false otherwise
Any help in getting started would be greatly appreciated.