allow override sting limit for substr