lannafred/nodeGal — comment on commit 92f38ac5d90953e2f5f39b599070ec01da7bcb07
File: files/main.js line 15
By Ond:

Like I say, it should be possible now, if your file names are straight, to just say

```javascript
var user = i.substring(0, i.lastIndexOf('_'))
```