title: How to split string by number of characters in Dataweave
body: <p>hi i could not find a function in Dataweave to split a string by a specified length .</p>
  <p>The string i need to split is</p>
  <pre><code>ThisistheStringineedtoSplit
  </code></pre>
  <p>Expected out put is an array with all the substrings</p>
  <pre><code>payload.splitBy(sizeOf(payload)/10)
  
  [ThisistheString,ineedtoSplit]
  </code></pre>