How To Accomplish The Following...
Posted: Sat Sep 03, 2005 6:29 am
How to make text between 2 of the same characters become underlined?
Deleting should be taken into effect. For example say the char I wanted to look for is Chr(3) where Chr is Delphi's function.
The first one is the starting char and the second one is the matching. Think of it like HTML's bold tag only there's no distinction in the closing tag.
So you have
Chr(3) some text Chr(3) some more text
Then you'd get the following
Chr(3) some text Chr(3) some more text
If you deleted the closing tag then you should have
Chr(3) some text some more text
If you deleted the start tag then the closing tag becomes a start tag
some text Chr(3) some more text
Hope this is clear enough.
Deleting should be taken into effect. For example say the char I wanted to look for is Chr(3) where Chr is Delphi's function.
The first one is the starting char and the second one is the matching. Think of it like HTML's bold tag only there's no distinction in the closing tag.
So you have
Chr(3) some text Chr(3) some more text
Then you'd get the following
Chr(3) some text Chr(3) some more text
If you deleted the closing tag then you should have
Chr(3) some text some more text
If you deleted the start tag then the closing tag becomes a start tag
some text Chr(3) some more text
Hope this is clear enough.