It depends on where you see it. Some controls, like the GridView use it for formatting data. This is done inside the controls.
You can also use it your self, in combination with String.Format:
Dim message As String = "Hello {0}, the time is now {1}"
Label1.Text = String.Format(message, txtUserName.Text, DateTime.Now.ToString())
The String.Format function takes a string, and a number of arguments that map to the {} placeholders inside that string. You need one for each unique {} combination, although it's possible to use the same placeholder more than once in a string.
I think the term to search for is string formatting....
HtH,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of
ASP.NET 2.0 Instant Results and
Beginning Dreamweaver MX / MX 2004
While typing this post, I was listening to:
Open Your Arms by
Editors (Track 10 from the album:
The Back Room)
What's This?