|
-
February 15th, 2000, 05:08 AM
#1
Can I write a character on the specified location of a string*255
If it can happen then do reply soon cause
now I am in the final stages.
I am waiting on the line for the next half an
hour.
If you can, please give a small example as well.
A problem stays like a challenge till
I find the solution to it.
-
February 15th, 2000, 05:30 AM
#2
Re: Can I write a character on the specified location of a string*255
here is a sample
Dim stra as string
stra = "this is a test"
mid(stra, 5, 1) = "f" ' write to position 5
MsgBox stra
-
February 15th, 2000, 05:33 AM
#3
Re: Can I write a character on the specified location of a string*255
BTW if you still work on the GetShortPathname stuff,
the return value from GetShortpathname is the number of characters copied into the strShort buffer.
if you need only the relevant characters:
l = getshortpathname( strLong, strShort..)
strTrueName = left( strShort, l) ' get's only the relevant characters from your string
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|