basicstring and basicchars implement front and back member functions