HxString
Overview
HxString is a class in Aspose.Font FOSS for Python.
HxString.split splits string s using delimiter d and returns an array of substrings.
This class provides 11 methods for working with HxString objects in Python programs.
Available methods include: charAt, charCodeAt, get_length, indexOf, lastIndexOf, split, substr, substring, toLowerCase, toString, toUpperCase.
All public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package.
Methods
| Signature | Description |
|---|---|
split(s, d) | Splits string s using delimiter d and returns an array of substrings |
charCodeAt(s, index) | Returns the Unicode code point of the character at index in string s |
charAt(s, index) | Returns the character at the given index from string s |
lastIndexOf(s, _hx_str, startIndex) | Returns the last position of substring _hx_str in s, optionally starting at startIndex |
toUpperCase(s) | Returns a copy of s with all characters converted to uppercase |
toLowerCase(s) | Calls toLowerCase on this HxString instance. |
indexOf(s, _hx_str, startIndex) | Returns the first index of substring _hx_str in s, optionally starting at startIndex |
toString(s) | Returns the string representation of s |
get_length(s) | Returns the length (number of characters) of string s |
substring(s, startIndex, endIndex) | Returns the portion of s from startIndex up to but not including endIndex |
substr(s, startIndex, _hx_len) | Returns a substring of s starting at startIndex with optional length _hx_len |