You are viewing limited content. For full access, please sign in.

Question

Question

Formatting Advanced search sting in C#

SDK
asked on August 21, 2014

 

I am still having issues with this string.  I need to place an argument In the advanced search string, and I cannot get the escape characters to work.  Here is what works for testing purposes.

 

"{LF:Name=\"*56565656\", Type=\"F\"}";

 

I need to change this to something like this;

 

"{LF:Name=\"*\" + chartNumber + "\", Type=\"F\"}";

 

Thanks for the programing assistance.

 

Phil

0 0

Answer

SELECTED ANSWER
replied on August 21, 2014
"{LF:Name=\"*" + chartNumber + "\", Type=\"F\"}";

or

String.Format("{{LF:Name=\"*{0}\", Type=\"F\"}}", chartNumber);

 

0 0

Replies

replied on August 21, 2014

Thanks Brian,

I will get this down eventually.

 

Phil

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.