ktor-http / io.ktor.http / kotlin.String / decodeURLPart

decodeURLPart

fun String.decodeURLPart(start: Int = 0, end: Int = length, charset: <ERROR CLASS> = Charsets.UTF_8): String

Decode percent encoded URL part within the specified range [start, end). This function is not intended to decode urlencoded forms so it doesn't decode plus character to space.