A Convenient Alternative to 'substring' with SequencedCollection #java #shorts #coding #airhacks

preview_player
Показать описание

Java used in this short: openjdk version "21" 2023-09-19 LTS

#airhacks
Рекомендации по теме
Комментарии
Автор

How to make a simple access to the last index of an array as complicated and slow as you can.

robertbrzheintzbrz
Автор

We also can find last index of "/" and use substring method. And we need to strip trailing "/" first.

IgorYegorkin
join shbcf.ru