Displaying 1 result from an estimated 1 matches for "text_auto_complete_for".
2006 Mar 09
15
regular expressions slay me
...form and I need to get the
''id'' number off the backend. The ''String'' will always come back to me
as...
Some_name\r\n123
where 123 is actually the id number which I need to execute the find.
The reason they are coming back this way is from a composite
''text_auto_complete_for'' methodology which is allowing users to pick by
name and I want the associated id column for an easy find.
But I can''t get to square one with irb...
irb(main):021:0> myvar = "Some_name\r\n123"
=> "Some_name\r\n123"
irb(main):022:0> show_regexp(myvar,...