
## compare_to {#aspose.html.toolkit.markdown.syntax.text.TextSpan}

Compare with other TextSpan


### Returns 


The start position of difference.


```python
def compare_to(self, other):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| other | [`TextSpan`](/html/python-net/aspose.html.toolkit.markdown.syntax.text/textspan) | The other TextSpan. |



### See Also
* module [`aspose.html.toolkit.markdown.syntax.text`](../../)
* class [`TextSpan`](/html/python-net/aspose.html.toolkit.markdown.syntax.text/textspan)
