title: USQL - How To Select All Rows Between Two String Rows in USQL
body: <p>Here is my complete task description:</p>
  
  <p>I have to extract data from multiple files using u-sql and output it into csv file. Every input file contains multiple reports based on some string rows ("START OF ..." and "END OF ..." working as report separator). Here is an example (data format) of a single source (input) file : </p>
  
  <pre><code>START OF DAILY ACCOUNT
  some data 1
  some data 2
  some data 3
  some data n
  END OF DAILY ACCOUNT
  START OF LEDGER BALANCE
  some data 1
  some data 2
  some data 3
  some data 4
  some data 5
  some data n
  END OF LEDGER BALANCE
  START OF DAILY SUMMARY REPORT
  some data 1
  some data 2
  some data 3
  some data n
  END OF DAILY SUMMARY REPORT
  </code></pre>
  
  <p>So now my question is that how can I fetch records between "START OF ..." and "END OF ..." rows for all files?</p>
  
  <p>I want something like this at the end : </p>
  
  <pre><code>@dailyAccountResult = [select all rows between "START OF DAILY ACCOUNT" and "END OF DAILY ACCOUNT" rows]
  
  @ledgerBalanceResult = [select all rows between "START OF LEDGER BALANCE" and "END OF LEDGER BALANCE" rows]
  
  @dailySummaryReportResult = [select all rows between "START OF DAILY SUMMARY REPORT" and "END OF DAILY SUMMARY REPORT" rows]
  </code></pre>
  
  <p>Do I need to write custom extractor for this? If yes then please suggest me how.</p>