Logo

Programming-Idioms

History of Idiom 41 > diff from v59 to v60

Edit summary for version 60 by Jak Drako:
New VB implementation by user [Jak Drako]

Version 59

2019-09-29, 19:11:41

Version 60

2019-09-30, 11:39:16

Idiom #41 Reverse a string

Create string t containing the same characters as string s, in reverse order.
Original string s must remain unaltered. Each character must be handled correctly regardless its number of bytes in memory.

Illustration

Idiom #41 Reverse a string

Create string t containing the same characters as string s, in reverse order.
Original string s must remain unaltered. Each character must be handled correctly regardless its number of bytes in memory.

Illustration
Code
Dim string_t = StrReverse(string_s)