Changed String API to make more sense (or somewhat similar to Qt).