toNumber

src.ZinckLib.toNumber.toNumber(toConv: str)

converts a string to a list of ints representing the number(i.e. 1 = a, 2 = b, …, 26 = z) with 0 representing any spaces and any non letter values not being converted.

Parameters:

toConv (str) – The string to be converted.

Returns:

the string/list/number that represents the given string.

Return type:

a list of ints