Hmm he asked, how to do in VLC player.Anyways adding more to the above post:
The auto detection dont work on all the players, it wont in VLC players, we have to load manually.
We need Vobsub for this auto detection.
1. Make the .srt and .avi( or whatever) the same name. You have done this. Except for the file extrnsion, everything should be the same, so when you look there should be two files in the same name, only their icons be different.
2. Now place them both in a folder. Name the folder also in the same name, but this is not required, but still do this.
3. Now open the file, the vobsub should load (and hence the .srt)
4. Even if the .srt dont load, then maunally start vobsub. Now make sure that vobsub is working by just starting it.
That should help you.
Why all this trouble? Just d/l BSPlayer and drag the .srt to the screen and the subbies load :d