3
Let’s say I have the strings
:
Oi, meu nome é ítalo
and Olá, meu nome é ítalo
How to generate a result +- like this:
Hi, my name is Italo
Hello, my name is Italo
The system must somehow mark the part of the string
that’s different.
Before anyone asks what I’ve already done, I mean I have no idea how to do it, so I posted the question.
tries to take two richtextbox and go through the text comparing them... while it is different... changes the color of the text.... while equal, maintains... ps. To avoid negative votes, try to be clearer, specify where you want to do this (winforms,wpf,web,etc) these things...
– Rovann Linhalis
One possibility I see is to do
split
by spaces and compare words between sentences and mark those that are not in the two arrays resulting fromsplit
s– Isac
see if that’s what you want to do: https://www.diffchecker.com/diff
– Rovann Linhalis
Exactly that @Rovannlinhalis some code hint?
– Italo Rodrigo