This intention replaces call like
s.substring(0, x)
with
s.take(x)
call.