Substring locations