Get an int from an item lore

Discussion in 'Programming' started by Camaloony, Jun 2, 2016.

  1. Hey, so, I'm making a cheque plugin and I've 'almost' got everything working but 1 crucial part, I need to get how much the cheque is worth to deposit that amount. Here is my lore :
    So, how would I be able to get the int from after the 'Total value: $' ?

    Thank you in advance for anyone that helps me.
  2. Just replace String "Total value: $" with nothing than Integer.parseInt(STRING);
  3. I don't suppose you could show me how to do this?