Selection of columns by name returns the wrong column if the first part of the search string matches. From ticket #539:
"The current version returns the first column providing a matching leading substring. That is, column("A") would match a column labeled "Age". This is convenient but might be a bad idea, since column("Site 1") might unexpectedly return a column labeled "Site 17" if it occurred before any column labeled "Site 1" exactly."
This should at least be documented but, much better, the whole string should be found.
Log in to post a comment.