I am trying to tackle the problem of comparing text between two string variables and identify (and extract) “updated” parts.
String Var1 | String Var2 | Result new variable |
“I wrote this in 2020” | “I wrote this in 2020. I updated this in 2021” | I updated this in 2021 |
“someone said this” | “In 2020, someone said this” | In 2020, |
“numbers reported in 2020” | “numbers changed in 2021” | changed 2021 |
Thanks!
Xiaodong
0 Response to Comparing two string variables and extract difference into a new variable
Post a Comment