There should be a line number for each line, if it does not exist, add a new column as line_number on tMap and set its value expression as numeric.sequence("s1",1,1), on another tMap, check the line number if it is >35 and <50, eg:
row2.line_number>35 && row2.line_number<50?"value if true":"value if false"