All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.seiko.imageloader.util.Utils.kt Maven / Gradle / Ivy

There is a newer version: 1.9.0
Show newest version
package com.seiko.imageloader.util

internal fun Any.parseString(maxLength: Int = 50): String {
    return if (this is String && length > maxLength) "${substring(0, maxLength)}..." else toString()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy