title: How to Split a string with a set of delimiters and find what delimiter it was? Kotlin
body: <p>So I am learning Kotlin now, and I was trying to do a calculator where if we can give expression like 4+3 or 3*5 and we will get the answer so I was trying to split that input string and then find what operator is used and what are the operands.</p>
  
  <pre><code>var list = str.split("+","-","*","/" )
  </code></pre>
  
  <p>so how can i get the delimiter that is used to split that string too.</p>