[android-components](../../index.md) / [mozilla.components.lib.publicsuffixlist.ext](../index.md) / [kotlin.String](./index.md)

### Extensions for kotlin.String

| Name | Summary |
|---|---|
| [urlToTrimmedHost](url-to-trimmed-host.md) | `fun `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`.urlToTrimmedHost(publicSuffixList: `[`PublicSuffixList`](../../mozilla.components.lib.publicsuffixlist/-public-suffix-list/index.md)`): Deferred<`[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`>`<br>Trim a host's prefix and suffix |
