By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,060 Members | 1,906 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,060 IT Pros & Developers. It's quick & easy.

How to display the values of a string?

P: n/a
Hello,

I am working in ASP.NET/VB and I need to see a string value.
Howe can I display the string values and also only one of the values?

Thanks,
Miguel

Nov 19 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Do you want to render it in the browser or in the debugger? Where do you
want to "display" it?

Also, what do you mean by "... the string values and also only one of the
values"? You did not mention anything about arrays, so I am not sure what
you mean.

"Miguel Dias Moura" <md*REMOVE*moura@*NOSPAM*gmail.com> wrote in message
news:#u*************@TK2MSFTNGP12.phx.gbl...
Hello,

I am working in ASP.NET/VB and I need to see a string value.
Howe can I display the string values and also only one of the values?

Thanks,
Miguel

Nov 19 '05 #2

P: n/a
Please define "the string values."

Please define "only one of the values?"

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"Miguel Dias Moura" <md*REMOVE*moura@*NOSPAM*gmail.com> wrote in message
news:#u*************@TK2MSFTNGP12.phx.gbl...
Hello,

I am working in ASP.NET/VB and I need to see a string value.
Howe can I display the string values and also only one of the values?

Thanks,
Miguel

Nov 19 '05 #3

P: n/a
Hi,

This is how I am defining the string from a search variable in the URL:

<script runat="server">

Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)
If Request.QueryString("search") Is Nothing Then
Else
Dim keywords() As String =
Request.QueryString("search").Split(CChar(""))
End If
End Sub

</script>

What I want is to display keywords and also how to access one of the
values of keywords and display it.

One example of URL query:
results.aspx?search=asp%20book%20london

Thanks,
Miguel

"Kevin Spencer" <ks******@takempis.com> wrote in message
news:ks******@takempis.com:
Please define "the string values."

Please define "only one of the values?"

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"Miguel Dias Moura" <md*REMOVE*moura@*NOSPAM*gmail.com> wrote in message
news:#u*************@TK2MSFTNGP12.phx.gbl...
Hello,

I am working in ASP.NET/VB and I need to see a string value.
Howe can I display the string values and also only one of the values?

Thanks,
Miguel


Nov 19 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.