By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,885 Members | 1,469 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,885 IT Pros & Developers. It's quick & easy.

Comparing texts with missing or extra letters

P: 3
Hey all,
my problem is when I start to compare two texts with different lenght.
The point is that the texts are loaded in two RTB and I don't know how to compare them.
I found that I have to parse the strings and then to compare word by word,but it's hard for me because (as default),these RTBoxes are empty and user put the texts from files.
I'll appretiate your help!
Oct 10 '06 #1
Share this Question
Share on Google+
2 Replies


P: 3
It seems that nobody can help me.All that I know about this problem is that I have to split the files in two arreys,but after this I don't know how to get the result of the comparision (letter by letter or word by word).


Array1=Split (rtb1.text," ",-1,1)
Array2=Split (rtb2.text," ",-1,1)

And then...???

Really need help.
Oct 17 '06 #2

Expert 5K+
P: 8,434
It seems that nobody can help me.All that I know about this problem is that I have to split the files in two arreys,but after this I don't know how to get the result of the comparision (letter by letter or word by word).


Array1=Split (rtb1.text," ",-1,1)
Array2=Split (rtb2.text," ",-1,1)

And then...???

Really need help.
Could you give us a better idea of what it is that you want to achieve? I mean, ok, your input is two "strings". What is it that you want to come out? "Comparison" is a very vague term.
Oct 18 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.