Suggest to replace 'substring' calls by take/drop/dropLast calls when possible
#KT-10196 Fixed
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
s.<spot>substringAfter('x')</spot>
|
||||
+1
@@ -0,0 +1 @@
|
||||
s.<spot>substring(s.indexOf('x'))</spot>
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
This intention replaces 'substring' and 'indexOf' calls with 'substringAfter' call.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user