to_string method

to_string

Override the ToString() method.

Returns

The string result.

def to_string(self, start):
    ...
ParameterTypeDescription
startintThe integer start value.

Exceptions

ExceptionDescription
ArgumentOutOfRangeExceptionThe index is negative -or- larger than the length.

to_string

Defines the interface ToString()

Returns

The string.

def to_string(self, span):
    ...
ParameterTypeDescription
spanTextSpanThe TextSpan.

to_string

Defines the interface ToString()

Returns

The string.

def to_string(self, start, length):
    ...
ParameterTypeDescription
startintThe start position.
lengthintThe length.

See Also