title: Splitting input into substrings in PIG (Hadoop)
body: <p>Assume I have the following input in Pig:</p>
  
  <pre><code>some
  </code></pre>
  
  <p>And I would like to convert that into:</p>
  
  <pre><code>s
  so
  som
  some
  </code></pre>
  
  <p>I've not (yet) found a way to iterate over a chararray in pig latin. I have found the TOKENIZE function but that splits on word boundries.
  So can "pig latin" do this or is this something that requires a Java class to do that?</p>