- usencrypt.cipher.String.split(self, delimiter=None, count=- 1)#
Returns a list of the words in the encrypted string \(E(x)\), separated by the delimiter character.
usencrypt.cipher.Char) – The character dividing the string into split groups. Defaults to
None, the delimiter is set to
int) – The number of times to split the string. Defaults to
-1which splits all the items.
The list of divided strings.
- Return type
>>> import usencrypt as ue >>> test = ue.encrypt("This is a test string.") >>> test = test.split() >>> test ["This", "is", "a", "test", "string."]