|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
How do you join variables with strings in Quotes to make one string
Actually what I am trying to do is come up with an email address without doing a LDAP query of the active directory. I retrieved the username and I want to join that with @chestnut.org to create an address. Like :
strUserName = Environment.Username UEmail = strUserName and "@chestnut.org" how is this done correctly? |
|
#2
|
|||
|
|||
|
Re:How do you join variables with strings in Quotes to make one string
Hey,
If i got ur question correctly then this is the way u do vb.net: strUserName = Environment.Username UEmail = strUserName & "@chestnut.org" c#: strUserName = Environment.Username UEmail = strUserName+"@chestnut.org" |
![]() |
| Viewing: Dev Articles Community Forums > Programming > .NET Development > How do you join variables with strings in Quotes to make one string |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|