If the rent is half what she spends on food and travel expenses, she spends 1200*2 = $<<1200*2=2400>>2400 on food and travel costs.
When her friend moved in and shared the rent costs with her, she started paying 1/2*1200 = $<<1200/2=600>>600 in rent costs.
Her total monthly expenses is now 600+2400 = $<<600+2400=3000>>3000.
When she deducts her monthly expenses from her salary, she has $5000-$3000 = $<<5000-3000=2000>>2000 remaining.
#### 2000