Question: StringSlice.Text #373

Closed
opened 2026-01-29 14:35:13 +00:00 by claunia · 1 comment
Owner

Originally created by @hawkerm on GitHub (Jun 1, 2020).

It seems like the Text property of each StringSlice object returns the entire original string? I was kind of expecting it to just return the current slice of the string. But it seems for that, I want to use ToString()?

Originally created by @hawkerm on GitHub (Jun 1, 2020). It seems like the `Text` property of each StringSlice object returns the entire original string? I was kind of expecting it to just return the current slice of the string. But it seems for that, I want to use `ToString()`?
claunia added the question label 2026-01-29 14:35:13 +00:00
Author
Owner

@MihaZupan commented on GitHub (Jun 1, 2020):

Correct, use ToString to get the substring

@MihaZupan commented on GitHub (Jun 1, 2020): Correct, use `ToString` to get the substring
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#373