Hi
What is the best where to search through some text to find where the 'tab' key has been pressed?
e.g. if i was looking for a comma, I could use
MainString := 'Hi, How are you")
GetPosition := pos(',',MainString);
GetPosition := 3
but i want to find a tab
e.g
MainString := 'James Smith")
GetPosition := pos('tab',MainString); //this does not work
GetPosition := 6
is there a way a doing what i want to do???
Thanks
What is the best where to search through some text to find where the 'tab' key has been pressed?
e.g. if i was looking for a comma, I could use
MainString := 'Hi, How are you")
GetPosition := pos(',',MainString);
GetPosition := 3
but i want to find a tab
e.g
MainString := 'James Smith")
GetPosition := pos('tab',MainString); //this does not work
GetPosition := 6
is there a way a doing what i want to do???
Thanks