If a string can be written from another string, return true.