Updated on 2026-08-14
This commit is contained in:
parent
d17f046b06
commit
fdd2b563bd
121 changed files with 2218 additions and 1594 deletions
|
|
@ -62,4 +62,9 @@ fun String.toQrCode(): Bitmap {
|
|||
return bmp
|
||||
}
|
||||
|
||||
fun String.urlEncode(): String = Uri.encode(this)
|
||||
fun String.urlEncode(): String = Uri.encode(this)
|
||||
|
||||
fun String.removePrefixOrNull(prefix: String): String? = when {
|
||||
startsWith(prefix) -> substring(prefix.length)
|
||||
else -> null
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue