public class JcString extends JcPrimitive
| Constructor and Description |
|---|
JcString(String name)
JCYPHER
create a string which is identified by a name
|
JcString(String name,
String value)
JCYPHER
create a string which is identified by a name and initialized with a value
|
| Modifier and Type | Method and Description |
|---|---|
JcString |
concat(JcString concat)
JCYPHER
return the result of concatenating two strings, return a JcString
|
JcString |
concat(String concat)
JCYPHER
return the result of concatenating two strings, return a JcString
|
JcString |
left(int n)
JCYPHER
return a string containing the left n characters of the original string
|
JcNumber |
length()
JCYPHER
return the length of a string, return a JcNumber
|
JcString |
lower()
JCYPHER
return the original string in lowercase
|
ReplaceWith |
replace(JcString what)
JCYPHER
specify the part of a string which should be replaced
|
ReplaceWith |
replace(String what)
JCYPHER
specify the part of a string which should be replaced
|
JcString |
right(int n)
JCYPHER
return a string containing the right n characters of the original string
|
SubString |
substring(int start)
JCYPHER
specify the start offset of a substring to be extracted
|
JcString |
trim()
JCYPHER
return the result of removing leading and trailing white spaces form a string, return a JcString
|
JcString |
trimLeft()
JCYPHER
return the result of removing leading white spaces form a string, return a JcString
|
JcString |
trimRight()
JCYPHER
return the result of removing trailing white spaces form a string, return a JcString
|
JcString |
upper()
JCYPHER
return the original string in uppercase
|
copyShallowToasCollectionstr, toFloat, toIntpublic JcString(String name)
public JcString concat(String concat)
public JcString concat(JcString concat)
public JcString trim()
public JcString trimLeft()
public JcString trimRight()
public JcNumber length()
public ReplaceWith replace(String what)
public ReplaceWith replace(JcString what)
public SubString substring(int start)
public JcString left(int n)
public JcString right(int n)
public JcString lower()
public JcString upper()
Copyright © 2016. All rights reserved.