Built-In Class String
| Field Attributes | Field Name and Description |
|---|---|
| <private> |
| Method Attributes | Method Name and Description |
|---|---|
| <private> |
__iter__()
Specific implementation for String.
|
| <private> |
__len__()
Returns the number of contained objects
|
| <private> |
__repr__()
Returns Json representaion of the object
|
| <private> |
__str__()
Returns string representation of the object
|
|
endswith(str)
Return true if the string ends with given string
|
|
|
equals(s)
Specific implementation for strings
|
|
|
join(an)
Join a array
|
|
|
lower()
Return lower cased string
|
|
|
lstrip(chars)
Strip leading whitespaces (default) or chars
|
|
|
rstrip(chars)
Strip trailing whitespaces (default) or chars
|
|
|
startswith(str)
Return true if string starts with given string
|
|
|
strip(chars)
Strip whitespace (default) or chars around a string
|
|
|
upper()
Return upper cased string
|
Field Detail
<private>
__name__
Method Detail
<private>
{Array}
__iter__()
Specific implementation for String. It returns an `Iterable` Object
- Returns:
- {Array}
- See:
- Python Iterators
<private>
{Number}
__len__()
Returns the number of contained objects
- Returns:
- {Number}
<private>
{String}
__repr__()
Returns Json representaion of the object
- Returns:
- {String}
<private>
{String}
__str__()
Returns string representation of the object
- Returns:
- {String}
{Boolean}
endswith(str)
Return true if the string ends with given string
- Parameters:
- {String} str
- The sub string
- Returns:
- {Boolean}
{Boolean}
equals(s)
Specific implementation for strings
- Parameters:
- {String} s
- String to compare with
- Returns:
- {Boolean}
{String}
join(an)
Join a array
- Parameters:
- {Iterable} an
- Iterable to join
- Returns:
- {String}
{String}
lower()
Return lower cased string
- Returns:
- {String}
{String}
lstrip(chars)
Strip leading whitespaces (default) or chars
- Parameters:
- {String} chars Optional
- characters to strip out
- Returns:
- {String}
{String}
rstrip(chars)
Strip trailing whitespaces (default) or chars
- Parameters:
- {String} chars Optional
- characters to strip out
- Returns:
- {String}
{Boolean}
startswith(str)
Return true if string starts with given string
- Parameters:
- {String} str
- the sub string
- Returns:
- {Boolean}
{String}
strip(chars)
Strip whitespace (default) or chars around a string
- Parameters:
- {String} chars Optional
- characters to be striped
- Returns:
- {String} striped string
{String}
upper()
Return upper cased string
- Returns:
- {String}