title: Cannot access 'split': it is private in file
body: <p>I develop an app with <code>Kotlin</code> and got this weird error today in <em>Android Studio</em>, so I tried the same code  in <em>InteliJ Idea</em> as well, where I get the same behaviour. I've used the <code>split</code> method so far in my Android project and it worked always like a charm.</p>
  
  <p>This is the code where this behaviour appears:</p>
  
  <pre><code>        val rawString = "OK;ABC;34"       
          val delimited = rawString.split(";",true,0).last()
  </code></pre>
  
  <p>So today, the compiler says that the <code>split</code> method cannot be reached, because it is private in file. Go figure!</p>
  
  <p>In the code above, I'm trying to get the <code>String</code> "34" into my <code>delimited</code> variable. Are there any restrictions that I'm missing or are there any changes made on this method?</p>
  
  <p><a href="https://i.stack.imgur.com/UouK1.png" rel="noreferrer"><img src="https://i.stack.imgur.com/UouK1.png" alt="error with split method"></a>  </p>
  
  <p>Thanks in advance.</p>