Split String in VB6 - Get "cba" from "abc

  • Thread starter Thread starter Sakha
  • Start date Start date
  • Tags Tags
    Splitting
Click For Summary
To reverse a string in a programming project, the function StrReverse(string) is identified as a useful solution. It effectively transforms a string like "abc" into "cba". For handling longer strings, such as those with 25 letters, the same function can be applied without limitation. The discussion also mentions the Split() function, but it is not clear how it relates to string reversal. Overall, StrReverse is highlighted as the key method for achieving the desired outcome of string manipulation.
Sakha
Messages
297
Reaction score
0
Hello,
I'm currently working on a project, what I need is to let's say:
I have the string "abc" how can I make to generate a string "cba", also, I need to be able to do this with about 25 letters or so.
I'm sure there is a command that split the number of letter you want to split. If its by the Split() I have no clue how to make it.
 
Technology news on Phys.org
After some research I found the function StrReverse(string).
 
Learn If you want to write code for Python Machine learning, AI Statistics/data analysis Scientific research Web application servers Some microcontrollers JavaScript/Node JS/TypeScript Web sites Web application servers C# Games (Unity) Consumer applications (Windows) Business applications C++ Games (Unreal Engine) Operating systems, device drivers Microcontrollers/embedded systems Consumer applications (Linux) Some more tips: Do not learn C++ (or any other dialect of C) as a...

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 20 ·
Replies
20
Views
3K
Replies
55
Views
6K
  • · Replies 25 ·
Replies
25
Views
2K
Replies
15
Views
14K
  • · Replies 118 ·
4
Replies
118
Views
9K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
615
Replies
35
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K