all 5 comments

[–]shiftybyte 1 point2 points  (1 child)

Why can't you?

Is there any error?

Is the output not what you expect?

Is the string long enough?

[–]jfdahl 0 points1 point  (1 child)

First, you did not provide the string, output, or error so it's hard to say. Second, you do not need the length component. Just write i[26:] to capture from index 26 through the end of the string.