Jump to content
Xtreme .Net Talk

mccbala

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by mccbala

  1. [PLAIN]Re: [sOLVED]: how to detect tab symbol in text..[/PLAIN] declare arr() as String before you use the code.. A small note for anyone who uses this code.. Please don't copy paste the code. Understand it and then use it. :) mccbala
  2. [PLAIN][sOLVED]: how to detect tab symbol in text..[/PLAIN] SOLVED: line = line.Trim() arr = line.Split(ControlChars.Tab) If Not ListBox1.Items.Contains(line) And arr.Length > 2 Then ListBox1.Items.Add(arr(0) & " - " & arr(1))
  3. it doesn't work man.. actually.. i dunno how to specify the tab character in vb split.. i tried this.. but no results..
  4. tks man.. this is in c.. lemme see if the same works in vb .net do i need the code..
  5. [PLAIN][sOLVED]: how to detect tab symbol in text..[/PLAIN] Hi.. I use stream reader to input lines from a text file to a listbox.. While inputting, i want to detect the tab characters in it. Like After the second tab character, extra text should be ignored. How can i do this? Plz reply ASAP.. I just need the part of code which detects and ignores the extra text. Plz don't take pains to write the whole coding.. ;) Thanks mccbala
×
×
  • Create New...