If I have a string value like this as the name attribute of a form element:

element[312]​[Theme]​

How would I grab the value of that field while ignoring the numerical index, and using the second index value (Theme) to clue in my application about where to place the value? Would this be a job for regular expressions, or is there some aspect of array notation that I can exploit to do the same thing?

Walter

--
You received this message because you are subscribed to the Google Groups "Prototype 
& script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to