title: How to split input by ASCII control codes with Progress 4GL?
body: <p>how can I split this barcode by group separator with Progress? I've tried chr(29) without any luck.</p>
  
  <p>Barcode scanned into Notepad++: <a href="http://i.imgur.com/8DmPZ.png" rel="nofollow">http://i.imgur.com/8DmPZ.png</a></p>
  
  <p>Barcode scanned into input field: 2409271405202120330017100282</p>
  
  <p>Thanks.</p>
  
  <pre><code>def var c as char no-undo.
  def var i as int no-undo.
  
  update c format "x(50)".
  
  do i = 1 to length(c):
      message substr(c, i, 1) = chr(29).
  end.
  </code></pre>