[julia-users] String interpolation question

2016-03-09 Thread Eric Forgy
If I have x = 2 s = "I like \$x" Is there a nice way to get "I like 2" ?

Re: [julia-users] String interpolation question

2016-03-09 Thread Yichao Yu
On Wed, Mar 9, 2016 at 8:59 AM, Eric Forgy wrote: > If I have > > x = 2 > s = "I like \$x" > > > Is there a nice way to get > > "I like 2" I think it depend on what you need. If you just need to substitute with simple variables, the right way is likely to just process the string yourself (See htt