I was going through the syntax on this site:
http://www.rubycentral.com/ref/ref_c_string.html
trying to figure out how to parse my tags. Basically I have a tags
field that returns a value a = ‘new york’ table
I want to parse it so that I grab the new york and the table but the
only way I know to do it is with scan such as: <%a=st.scan(/\w+/)%>
which returns three values: new, york, and table.
Can somebody help me with the proper syntax for my scan statement?
Thanks…