get before last value bufferreader socket
<p>i have probleme i want to get before last element in bufferreader socket</p>

<pre><code>message = bufferedReader.readLine()
</code></pre>

<p>i want to get this output</p>

<p>exemple bufferreader messages contains: [Ajay, Becky, Chaitanya, Dimple, Rock]
before Last element is:
dimple</p>