How to check if my string ends with ".pdf"

YourStringVar.ToUpper.EndsWith(“.PDF”)

2 Likes