title: In Biztalk mapper how to use split array concept
body: <p>Required suggestion on below part.please any one give solution.</p>
  
  <p>We have mapping from 850 to FlatFile</p>
  
  <p>X12/PO1Loop1/PO1/PO109  and I need to map to field <strong>VALUE</strong> which is under record Option which is unbounded.</p>
  
  <p>Split PO109 into substrings delimited by '.', foreach subsring after the first, create new Option with value=substring</p>
  
  <p>So in input sample we have value like 147895632qwerqtyuui.789456123321456987</p>
  
  <p>Similarly the field repeats under POLoop1.</p>
  
  <p>So I need to split value based on (.) then pass a value to value field  under option record(unbounded).</p>
  
  <p>I tried using below code snippet</p>
  
  <pre><code>public string SplitValues(string strValue)
  {
  
  string[] arrValue = strValue.Split(".".ToCharArray());  
   foreach (string strDisplay in arrValue)  
   {
  return strDisplay; 
  }
  
  }
  </code></pre>
  
  <p>But it doesn't works, and  I am not really familiar with the String methods and I am not sure if there's an easy way to do this. I have a String which contains couple of values delimited with "." .</p>
  
  <p>So I need to separate values based on delimiter(.) and pass value to field.</p>
  
  <p>How can I do this</p>