• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

quick! how do I eliminate this character?

SelArom

Senior member
I made a multiline textbox in asp.net and put a few rows of text. Now I made a string array and split the text into the array using the vbcrlf character, but when it fills the array it looks like this:

arraystring(0): item1
arraystring(1): []item2
arraystring(2): []item3
...
arraystring(n-1): []

where [] is a square. I can't make that symbol on this post because if I paste it it just makes a crlf.

I want to be able to remove those symbols so that the array is just

arraystring(0): item1
arraystring(1): item2
...

and so on, without that last blank entry, but I don't know how to do it. i tried using a string.replace(vbcrlf, "") to each element in the array but it doesn't remove that character. I'm at a real loss here, can someone help?

thank you!
-SelArom
 
Find what the ascii equivalent of that character is and try to replace it that way I believe
 
Back
Top