If all you want is the last column, you can use
$(this).find('td:last')
If you want to do something with other columns, go to
$(this).find('td:last').addClass("last"); $(this).find('td').each(function() { if ($(this).hasClass("last")) {
You can use data() instead of addclass() if you like it.
If everything you want to do does not have a comma at the end of the line, you can simply turn it off after:
storageVAR = storageVAR.substr(0, (storageVAR.length - 1);
source share