Which flags the double quotes red and everything after the close double braces of the personalization token.
I am curious to know how I can make this work so that the output src url is the same as the first code snippet above, with the RA number being different?
If you are still stuck, can you please share as much detail, screenshots and public links so we can see where you are working and where you are getting stuck?