R
Richard Kilmer
If I had the source for a string:
"name = #{person.first_name+" "+person.last_name} ... Ok?"
And assuming I could find the first and last double quotes, how would I
parse out the #{ ... } with a regular expression since anything can fall
between the #{ ... } braces in a string?
Thanks in advance.
-rich
"name = #{person.first_name+" "+person.last_name} ... Ok?"
And assuming I could find the first and last double quotes, how would I
parse out the #{ ... } with a regular expression since anything can fall
between the #{ ... } braces in a string?
Thanks in advance.
-rich