Files
kotlin-fork/idea/resources/intentionDescriptions/ReplaceSubstringWithSubstringBeforeIntention/description.html
T
Anton Sukhonosenko b2e98e9353 Suggest to replace 'substring' calls by take/drop/dropLast calls when possible
Code review fixes
#KT-10196 Fixed
2016-01-14 22:40:50 +03:00

6 lines
151 B
HTML

<html>
<body>
This intention replaces call like <code>s.substring(0, s.indexOf(x))</code> with <code>s.substringBefore(x)</code> call.
</body>
</html>