MetaPhrase

An open source translation editor for native mobile app localization.

View project on GitHub

//MetaPhrase/com.github.diegoberaldin.metaphrase.core.common.utils/lastPathSegment

lastPathSegment

[jvm]
fun String.lastPathSegment(): String

Retrieves the last path segment (considering platform-specific separator).

Receiver

Full path

Return

last path component (e.g. file name)