NOISIF Platform
Toggle table of contents
80ccce4
java
Target filter
java
Switch theme
Search in API
Skip to content
NOISIF Platform
NSL Common
/
xyz.noisif.nsl.common.util
/
StringUtil
String
Util
open
class
StringUtil
Members
Constructors
String
Util
Link copied to clipboard
private
constructor
(
)
Functions
create
Link copied to clipboard
open
fun
create
(
bytes
:
Array
<
Byte
>
)
:
String
get
Bytes
Link copied to clipboard
open
fun
getBytes
(
str
:
String
)
:
Array
<
Byte
>
split
Link copied to clipboard
open
fun
split
(
str
:
String
,
separator
:
Char
)
:
List
<
String
>
split
And
Get
First
Link copied to clipboard
open
fun
splitAndGetFirst
(
str
:
String
,
separator
:
Char
)
:
String
split
Regex
Link copied to clipboard
open
fun
splitRegex
(
str
:
String
,
regex
:
String
)
:
List
<
String
>
to
Lower
Case
Link copied to clipboard
open
fun
toLowerCase
(
str
:
String
)
:
String
to
Upper
Case
Link copied to clipboard
open
fun
toUpperCase
(
str
:
String
)
:
String
truncate
To
Utf8Bytes
Link copied to clipboard
open
fun
truncateToUtf8Bytes
(
text
:
String
,
maxBytes
:
Int
)
:
String