How to create this simple string?

M

Miguel Dias Moura

Hello,

I am working on ASP.NET/VB. I have this string:
Dim keywords() As String =
Request.QueryString("search").Split(CChar(""))

Now I want to define a new string like this:
keywordsSQL = CONTAINS (*, 'keyword(1)') AND CONTAINS (*, 'keyword(2)')
AND ... CONTAINS (*, 'keyword(i)')

keyword(1) and keyword(i) are the first and last values in keywords().

How can I do this?

Thanks,
Miguel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top