I have a script in jquery that generates me an object in {name : value} that looks like:
fracht_1_eta :""
fracht_1_ets :""
fracht_2_eta :"2013-11-21"
fracht_2_ets :""
fracht_3_eta :""
fracht_3_ets :""
oncarriage_pickup_pl:""
precarrige_date_pickup_pl:"2013-12-05"
Now I want to cut that object for example from fracht_1_eta to fracht_3_ets, idea is that I want to cut it dynamic, and I see slice uses int as parameter, is there a way to cut an object using only name of values in object?