I have these 2 variables
to_insert="John"
full_string="My name is and I am 25 years old"
I would like to insert the value of "to_insert" into "full_string" after the word/string "is". Basically I want to get this in the end:
full_string="My name is John and I am 25 years old"
would appreciate your help, Alon
full_string, something along the lines offull_string='My name is #{NAME} and I am 25 years old'; full_string="${full_string/"#{NAME}"/John}"