|
-
May 3rd, 2006, 06:27 PM
#1
Thread Starter
Lively Member
-
May 3rd, 2006, 06:35 PM
#2
Re: What's wrong plz? Reversing string
Have you tried the StrReverse function?
-
May 3rd, 2006, 06:52 PM
#3
Thread Starter
Lively Member
Re: What's wrong plz? Reversing string
Yes i did and it does not work with it becous i have to go thru the loop like from postion 133 to postion one..my propleam is that itis like the line of string in the wall and you want to go back from right to lift... becouse of some font shape i have to deal with
-
May 3rd, 2006, 06:53 PM
#4
Thread Starter
Lively Member
Re: What's wrong plz? Reversing string
even like the code i post i get now a blind becouse i can not see the stupen mistake i am missing..
-
May 3rd, 2006, 06:56 PM
#5
Re: What's wrong plz? Reversing string
Can you give an example of the input file and of the wanted outcome?
-
May 3rd, 2006, 06:56 PM
#6
Re: What's wrong plz? Reversing string
T = T & Mid(sIN, 1, 1)
That takes the first character of sIN and adds it to T instead of the last. Your code should probably read:
VB Code:
For I = Rec_size To 1 Step -1
T = T & Mid(sIN, I, 1) '<- Notice that the second argument uses the I variable instead of 1
Next I
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
|