Added String extensions

pull/30/head
atbest 6 years ago
parent 48809acdb0
commit 742e3f3693
  1. 3
      app/src/main/java/io/legado/app/utils/StringExtensions.kt

@ -0,0 +1,3 @@
package io.legado.app.utils
fun String?.strim() = if (this.isNullOrBlank()) null else this.trim()
Loading…
Cancel
Save