daily pastebin goal
47%
SHARE
TWEET

Untitled

a guest Apr 21st, 2017 131 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public void theSlicer(string meat)
  2.         {
  3.             List<int> meatSack = new List<int>();
  4.             string[] meatPile;
  5.             if (meat.Substring(0, 5) != "Total")
  6.             {
  7.                 theSlicer(meat.Substring(1));
  8.             } else
  9.             {
  10.                 meat = meat.Replace("</td><td>", "");
  11.                 meat = meat.Replace("</tbody>", "");
  12.                 meat = meat.Replace("</table>", "");
  13.                 meat = meat.Replace("</td>", "");
  14.                 meat = meat.Replace("</tr>", "");
  15.                 meat = meat.Replace(" ", "");
  16.                 meatPile = meat.Split(new string[] { "Total" }, StringSplitOptions.None);
  17.                 foreach (string item in meatPile)
  18.                 {
  19.                     meatSack.Add(Int32.Parse(item));
  20.                 }
  21.                
  22.                 // Total229Total1060Total0
  23.             }
RAW Paste Data
Top