Passing parameters from Panel to View (contextual filter)
General solution:


Your View should have a "Content pane" display
Your pane should be configured to require an argument that matches the one your contextual filter wants.
Add the pane to your page.


For your specific question, I don't understand how you pass a string at all to Views, so I need more info about your setup to be more specific.