beginswith, endswith accept Chars
Merge pull request #6779 from WestleyArgentum/master

beginswith, endswith accept Chars