How can I get an S3 asset's remote path minus the bucket name from within my plugin?
I'd just use the replace filter to chop it off...


  https://craftcms.com/docs/templating/filters#replace


Even if you didn't know the bucket name exactly, replace supports regex.