title: Split String in shell script while reading from file
body: <p>I have a following script which should read line by line from a ".properties" file and then tokenize it on base of "=" delimiter and store values into two variables and then display it. But I am not getting understanding of how to tokenize it and then store it in two different variables and then use it for further purposes. </p>
  
  <p>Following script works fine in reading the file line by line but i need help in implementing the logic of splitting the string. </p>
  
  <p><strong>"Properties File"</strong></p>
  
  <pre><code>FNAME=John
  LNAME=Lock
  DOB=01111989
  </code></pre>
  
  <p><strong>Script</strong> </p>
  
  <pre><code>#!/bin/bash
  echo "FileReading Starts"
  while read line
  do 
      value=$line
      echo $value
      #Tokenize Logic
      property=sample
      property_value=sample
      echo $property
      echo $property_value
  done &lt;testprop.properties
  
  echo "Finish"
  </code></pre>