Hi,i often need to check whether an array(string) ends with a specific text and if not I need to add this text.
For example I have a variable url and / has to be added to the end in case it is missing.
I want to write: ...new RegistryPackageSupplier(URL(url.enforceSuffix("/"))...Of course the logic is rather simple to implement on my side but I often has this requirement and I cannot believe this functionality is missing in Phobos.
Have I missed it in the documentation? Kind regards André