add a few ruby like operations to NSString