Hi guys,

I just need a little help. I have the below codes:

dim var1 as string
dim var2 as string
dim year as string
dim fullpath as string

year="2017"
var1="\\192.168.1.85\PDFLOC\FileName\القيود\"
var2=year & " " & "قيود" & "\"
fullpath=var1 & var1

I am expecting fullpath to be
\\192.168.1.85\PDFLOC\FileName\قيود 2017\القيود\

but it mixes the string like this
\\192.168.1.85\PDFLOC\FileName\القيود\2017 قيود\

How to fix this issue? Ive tried split and join but still the same.

Please help.tnx

I am guessing by the tag you are using Visual Studio. If so, break on line 9 and examine the contents of the vars.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.