Adding some C String handling functions