Debug and trace with the immediate panel and prototype it e.g. with a trim usage
Understanding the 6 Debugging Panels of UiPath in the easiest way possible! - News / Tutorials - UiPath Community Forum
maybe the equals method can better serve: folder.Trim.Equals(“…”)
But we also recommend using variable names which are different to any classnames, keywords…