Packages

c

syntax

StringOps

final class StringOps extends AnyVal

StringOps

Version

1.0

Since

2019-04-01 11:41

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StringOps
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def camel: String
  6. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  7. def hasText: Boolean
  8. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  9. def newline: String
    Annotations
    @inline()
  10. def padEnd(length: Int, c: Char): String

    给 string 在尾部补全长度

    给 string 在尾部补全长度

    "1".padEnd(5,'0') ==> "10000"
    length

    最小的长度

    c

    补充的字符

  11. def padStart(length: Int, c: Char): String

    给 string 在头部补全长度

    给 string 在头部补全长度

    "1".padStart(5,'0') ==> "00001"
    length

    最小长度

    c

    补充的字符

  12. def repeat(count: Int): String

    string 重复若干次

    string 重复若干次

    count

    重复次数

  13. def safeEqual(that: String): Boolean
  14. def subStringR(n: Int): String

    后几位

    后几位

    n

    整数

  15. def toRadixInt(radix: Int): Int
  16. def toString(): String
    Definition Classes
    Any
  17. def underscores: String

Inherited from AnyVal

Inherited from Any

Ungrouped