title: how to get the next word of a specified word in string
body: <p>I searched here and there a but i couldn't find any appropriate answer to my question. but i apologize if it is already answered.</p>
  
  <p>I have a bash script that connects to different oracle databases to perform different operational tasks. The problem is I want to hash my password's and store them beside users in a string like this</p>
  
  <pre><code>DBAUTH="user1 user1password user2 user2password ... userN userNpassword"
  </code></pre>
  
  <p>I need a function to get the username and return the password to me ( the next word ) </p>
  
  <p>With regards.</p>