SHARE
TWEET

Untitled

a guest Jul 17th, 2017 39 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. foundSectors = false;
  2.  
  3.  
  4. while not at end of line
  5. {
  6.     if (string.Contains("Sectors")
  7.     {
  8.         foundSectors = true;
  9.     }
  10.     if (foundSectors == true)
  11.     {
  12.         // run code since we have found the cell with sectors in it
  13.     }
  14.     if (string.Contains("Contract")
  15.     {
  16.         // break out of while loop
  17.         break;
  18.     }
  19. }
RAW Paste Data
Top