set range from single string