HxString

Vue de l’ensemble

‘HxString’ est une classe dans Aspose.Font FOSS pour Python.

HxString.split divise la ligne s en utilisant le délimiteur d et retourne une série de sous-traits.

Cette classe fournit 11 méthodes pour travailler avec des objets HxString dans les programmes Python. Les méthodologies disponibles comprennent: ‘charAt’, ‘carCodeAt’ , ‘get_length’, indexOf, ’lastIndexOp’, ‘split’, ‘substr , substring ’toLowerCase,, 'toutStrin et ‘ToUpperCise’. Tous les membres publics sont accessibles à toute application Pythone après l’installation de l’Aspoe.Font FOSS pour le package Pyathon.

méthodes

SignatureDescription
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

Voir aussi

  • Aspose.Font — référence API d’entreprise
 Français