JchuComponents
Toggle table of contents
3.0.0-alpha07
common
Target filter
common
Switch theme
Search in API
Skip to content
JchuComponents
jchucomponents-foundation
/
com.jeluchu.jchucomponents.foundation.text
Package-level
declarations
Functions
Properties
Properties
contains
Letters
Link copied to clipboard
val
String
.
containsLetters
:
Boolean
contains
Numbers
Link copied to clipboard
val
String
.
containsNumbers
:
Boolean
Functions
add
Space
After
Every3Chars
Link copied to clipboard
fun
String
.
addSpaceAfterEvery3Chars
(
)
:
String
add
Space
After
Every4Chars
Link copied to clipboard
fun
String
.
addSpaceAfterEvery4Chars
(
)
:
String
capitalize
First
Letter
Link copied to clipboard
fun
String
.
capitalizeFirstLetter
(
)
:
String
capitalize
Words
Link copied to clipboard
fun
String
.
capitalizeWords
(
)
:
String
format
In
Groups
Link copied to clipboard
fun
String
.
formatInGroups
(
groupSize
:
Int
=
4
,
separator
:
String
=
"-"
)
:
String
Splits this string into equally sized groups and joins them with
separator
.
is
Number
Link copied to clipboard
fun
String
.
isNumber
(
)
:
Boolean
only
Digits
Link copied to clipboard
fun
String
.
onlyDigits
(
)
:
String
remove
Link copied to clipboard
fun
String
.
remove
(
regex
:
Regex
)
:
String
fun
String
.
remove
(
value
:
String
,
ignoreCase
:
Boolean
=
false
)
:
String
remove
First
Last
Char
Link copied to clipboard
fun
String
.
removeFirstLastChar
(
)
:
String
return
Null
If
Empty
Link copied to clipboard
fun
String
?
.
returnNullIfEmpty
(
)
:
String
?
to
Https
Url
Link copied to clipboard
fun
String
?
.
toHttpsUrl
(
)
:
String
word
Count
Link copied to clipboard
fun
String
.
wordCount
(
)
:
Int