beginswith, endswith accept Chars