You can change the response type from node editor or from the code editor manually, to replace certain characters or perform any operations on the string, you can use Regex.
Okay, the issue here is - The response is of type array, you are adding operation/method of string, you'll require to convert it to string or extract from the array index.