Hello,
I'm attempting to work with a multi-line RadTextbox and split the text contained in it into a string array based on which "line" the text is on. So, it would look something like this:
Text1
Text2
Text3
....
So, Text1, Text2, and Text3 would be each their own array item. The user is required to hit enter after each line entry, so I'm attempted to split the textbox based on each enter key entry. I attempted the following splits, but none of these worked:
RadTextbox.Text.Split("\r\n")
RadTextbox.Text.Split(vbCrLf)
RadTextbox.Text.Split(" ")
RadTextbox.Text.Split(CChar(" "))
Any help on this would be greatly appreciated.
I'm attempting to work with a multi-line RadTextbox and split the text contained in it into a string array based on which "line" the text is on. So, it would look something like this:
Text1
Text2
Text3
....
So, Text1, Text2, and Text3 would be each their own array item. The user is required to hit enter after each line entry, so I'm attempted to split the textbox based on each enter key entry. I attempted the following splits, but none of these worked:
RadTextbox.Text.Split("\r\n")
RadTextbox.Text.Split(vbCrLf)
RadTextbox.Text.Split(" ")
RadTextbox.Text.Split(CChar(" "))
Any help on this would be greatly appreciated.