Hi,
I'm trying to concat: "\" & variable, where variable is some string,
but VB is making it to be "\\variable".
for example if variable is "Test", vb is making it to be "\\Test"
instead of "\Test".
I've tried almost everything.
Does anyone has an idea.
Thanks a lot, Marina ma****@nogacom.com 3 1088
Marina wrote:
I'm trying to concat: "\" & variable, where variable is some string,
but VB is making it to be "\\variable".
for example if variable is "Test", vb is making it to be "\\Test"
instead of "\Test".
I've tried almost everything.
Does anyone has an idea.
<snip>
I personaly never saw such behavior. Couldn't it be the the variable
was already "\Test", to begin with? Please, post some code.
Regards,
Branco.
I've write this code and the result is correct.
Dim str As String = "Test"
str = "\" & str
Debug.Print(str)
It returns "\Test"
Post your code here, because is there some error wich is putting your return
value wrong.
--
Tiago Salgado http://weblogs.pontonetpt.com/tiagosalgado http://www.foruns.org http://www.portugal-a-programar.org http://www.revista-programar.info
"Marina" <Ma*******@gmail.comwrote in message
news:11*********************@q2g2000cwa.googlegrou ps.com...
Hi,
I'm trying to concat: "\" & variable, where variable is some string,
but VB is making it to be "\\variable".
for example if variable is "Test", vb is making it to be "\\Test"
instead of "\Test".
I've tried almost everything.
Does anyone has an idea.
Thanks a lot, Marina ma****@nogacom.com
is not \ a simple escape character?
give more detail about your exact code, sweetheart
On Feb 13, 5:51 am, "Marina" <Marina...@gmail.comwrote:
Hi,
I'm trying to concat: "\" & variable, where variable is some string,
but VB is making it to be "\\variable".
for example if variable is "Test", vb is making it to be "\\Test"
instead of "\Test".
I've tried almost everything.
Does anyone has an idea.
Thanks a lot, Marina
mar...@nogacom.com
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Ladvánszky Károly |
last post by:
What is the correct way to match/search a backslash with regular
expressions?
print re.match('\\m', '\\m').group(0) raises an error while
print re.search('\\m', '\\m').group(0) yields 'm'
...
|
by: Ask |
last post by:
Hi,
I'm currently having strange problems in Visual Studio .NET.
No matter what language I'm writing my programs in, I still
can't write the sign "\" - backslash. All I get is a "Y" with
two...
|
by: JS |
last post by:
I am trying to add an element to an array like this:
var ty = ;
zz = "ty";
var ab = null;
zz+="";
ab = eval(zz);
document.write(ab.length);
|
by: John Salerno |
last post by:
I have this:
subdomain = raw_input('Enter subdomain name: ')
path = r'C:\Documents and Settings\John Salerno\My Documents\My
Webs\1and1\johnjsalerno.com\' + subdomain
Obviously the single...
|
by: balakrishnan.dinesh |
last post by:
Hi frnds,
Im having a problem with retriving "\" backslash , In my
javascript client side page , ill get the response from the server side
, the response will contain some url like...
|
by: pradeep |
last post by:
Hello,
I have problem in PHP String concatination with html select combo
box.
There are 3 files
addressbook.sql :
concat1.php
concat2.php
|
by: Stef Mientki |
last post by:
It looks like sometimes a single backslash is replaced by a double backslash,
but sometimes it's not ???
See the error message below,
the first backslash is somewhere (not explicitly in my code)...
|
by: Tobiah |
last post by:
>>"'"
"'"
"'"
"\\'"
"\\'"
This is quite different than any other language
that I am used to. Normally, a double backslash
takes away the special meaning of the last backslash,
and so you...
|
by: vlsidesign |
last post by:
The printf function returns "warning: unknown escape sequence: \040"
for a backslash-space combination. If the ascii decimal number for
space is 32 and the backslash is 92, why this particular...
|
by: Razzbar |
last post by:
I'm working on a bookmarklet that grabs information from a page and
submits it to a server. Yet another social bookmarking application.
I'm having trouble with page titles that include an...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |