Creates an ndarray view of a string