optimise line parameter parsing 

use substring instead of componentsSeparatedByString