Updated on 2026-08-14
This commit is contained in:
parent
1ccd4f3b6c
commit
b3ed607c1a
4 changed files with 7 additions and 27 deletions
|
|
@ -1,6 +0,0 @@
|
|||
package com.tangem.tap.common.extensions
|
||||
|
||||
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