Replacing deprecated spit function in the string validator
remove trailing spaces
Make select attribute option "add" support quotes
Merge pull request #1866 from glukasik/patch-4

Replacing deprecated split function with explode in the string validator