Hello everyone,
I have a question and I need your precious kind help. I am working on matching two string. However, the length of the two strings is different. For example, one is "example" (nchar=7), the other one is "example " (nchar=10). The R considers them as different strings but they will be the same if I could make the first string has 10 characters, "example" followed by 3 spaces. However, I could not find a way to do it. Is there anyone able to provide some suggestions? I appreciate your precious time!!!! Best, Yen [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.