Hello @The_Automation_king This would help. in assign activity, assign your string to : String.Join(String.Empty,yourString.Split("-"c)(1).Reverse())+"-"+yourString.Split("-"c)(0) The results are shown below: [Before] [After] Thank you Cheers Answer from MasterOfLogic on forum.uipath.com
Discussions

Reverse a string without using reverse()
Hi guys. I want to reverse a string without using a reverse function. We can convert the string into CharArray but what should we do post that? Thanks for the help in advance. More on forum.uipath.com
๐ŸŒ forum.uipath.com
0
April 30, 2020
Reverse of a String - Storage & SAN - Spiceworks Community
Hi i have a requirement of reversing a string column in my data. for example if my data is 101,krishna 102,surya 103,asha I want output as 101,anhsirk 102,ayrus 103,ahsa I tried the below logic but it still throwing an error. Plz correct my with my code /Reformat operation/ out::reformat(in) ... More on community.spiceworks.com
๐ŸŒ community.spiceworks.com
0
April 10, 2012
Why does [::1] reverse a string in Python? : learnprogramming
๐ŸŒ r/learnprogramming
Challenge: Reverse a string in place
I think the trick to this is using XOR to switch characters in the string without having to use temporary variables to store them. That is, one can switch two variables x and y by using: x = x^y; y = x^y; x = x^y; C++: #include int main(){ char string[]="String to reverse"; std::cout << string << std::endl; int i; int stringsize= sizeof(string) - 1; for(i=0;i More on reddit.com
๐ŸŒ r/programmingchallenges
65
22
January 19, 2011
๐ŸŒ
DigitalOcean
digitalocean.com โ€บ community โ€บ tutorials โ€บ reverse-string-c-plus-plus
How to Reverse a String in C++: A Guide with Code Examples | DigitalOcean
April 21, 2025 - Now let us see how we can perform this reverse operation on C++ strings using various techniques. The built-in reverse function reverse() in C++ directly reverses a string.
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ java โ€บ reverse-a-string-in-java
Reverse a String in Java - GeeksforGeeks
Explanation: Characters are stored in a list and reversed using Collections.reverse(). This approach is helpful when youโ€™re already working with Java collections. StringBuffer is similar to StringBuilder but thread-safe.
Published ย  October 14, 2025
๐ŸŒ
Sololearn
sololearn.com โ€บ en โ€บ Discuss โ€บ 3180077 โ€บ how-to-reverse-a-string-
How to Reverse a String? | Sololearn: Learn to code for FREE!
So, there are two ways to reverse a String - first, using StringBuilder class and its method reverse(), and second - convert your String into CharArray and reverse it in for-loop just like any other Array.
๐ŸŒ
CodeChef
codechef.com โ€บ practice โ€บ course โ€บ strings โ€บ STRINGS โ€บ problems โ€บ PALINDRCHECK
Reverse Words in a String Practice Problem in Strings
Test your knowledge with our Reverse Words in a String practice problem. Dive into the world of strings challenges at CodeChef.
Find elsewhere
๐ŸŒ
freeCodeCamp
freecodecamp.org โ€บ news โ€บ how-to-reverse-a-string-in-javascript-in-3-different-ways-75e4763c68cb
Three Ways to Reverse a String in JavaScript
March 14, 2016 - The split() method splits a String object into an array of string by separating the string into sub strings. The reverse() method reverses an array in place.
๐ŸŒ
Quora
quora.com โ€บ How-do-you-reverse-a-string
How to reverse a string - Quora
Answer (1 of 3): You can reverse a string by lifting one end, then moving it past the other end. It will be completely reversed. If youโ€™re asking about programming, you could use an index starting at zero, swap the character at that index ...
๐ŸŒ
Clayton Errington
claytonerrington.com โ€บ blog โ€บ reverse-reverse
Reverse, esreveR
March 5, 2025 - $String = "This is a test string" -join $String[-1..-($String.Length)] gnirts tset a si sihT ยท It is the fun part of working these problems is the many ways to solve the problem. Each has itโ€™s own benefit and can be used in other processes like finding if a word is a Palindrome. Have fun with reversing things, but donโ€™t do everything backwards.
๐ŸŒ
Interviewing.io
interviewing.io โ€บ questions โ€บ reverse-string
How to Reverse a String [Interview Question + Solution]
September 13, 2018 - We can loop through each character of the original string and build the reversed string iteratively. We start with an empty string and append the characters to it as we loop across the original string. Please note that we are appending the characters to the beginning of the string.
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ problems โ€บ reverse-a-string โ€บ 1
Reverse a String | Practice | GeeksforGeeks
You are given a string s, and your task is to reverse the string. Examples: Input: s = "Geeks" Output: "skeeG" Input: s = "for" Output: "rof" Input: s = "a" Output: "a" Constraints:1
๐ŸŒ
UiPath Community
forum.uipath.com โ€บ learning hub
Reverse a string without using reverse() - Learning Hub - UiPath Community Forum
April 30, 2020 - Hi guys. I want to reverse a string without using a reverse function. We can convert the string into CharArray but what should we do post that? Thanks for the help in advance.
๐ŸŒ
Spiceworks
community.spiceworks.com โ€บ hardware & infrastructure โ€บ storage & san
Reverse of a String - Storage & SAN - Spiceworks Community
April 10, 2012 - Hi i have a requirement of reversing a string column in my data. for example if my data is 101,krishna 102,surya 103,asha I want output as 101,anhsirk 102,ayrus 103,ahsa I tried the below logic but it still throwing an error. Plz correct my with my code /Reformat operation/ out::reformat(in) = begin let string(10) str = in.ename; let string(10) z; let string(10) ch; let int a; let decimal(10) l = string_length(in.ename); let int i =0; a=l; for(i,i
๐ŸŒ
LeetCode
leetcode.com โ€บ problems โ€บ reverse-string
Reverse String - LeetCode
The input string is given as an array of characters s. You must do this by modifying the input array in-place [https://en.wikipedia.org/wiki/In-place_algorithm] with O(1) extra memory.
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ dsa โ€บ reverse-a-string
Reverse a String โ€“ Complete Tutorial - GeeksforGeeks
After each swap, increment the left pointer and decrement the right pointer to move towards the center of the string. This will swap all the characters in the first half with their corresponding character in the second half. ... // C++ program to reverse a string using two pointers #include <iostream> using namespace std; string reverseString(string &s) { int left = 0, right = s.length() - 1; // Swap characters from both ends till we reach // the middle of the string while (left < right) { swap(s[left], s[right]); left++; right--; } return s; } int main() { string s = "abdcfe"; cout << reverseString(s); return 0; }
Published ย  5 days ago
๐ŸŒ
SamanthaMing
samanthaming.com โ€บ pictorials โ€บ how-to-reverse-a-string
How to Reverse a String in JavaScript | SamanthaMing.com
Split our string into an array of letters. ... Excellent, now that we have an array of letters. We can call our built-in array method to reverse the order.
๐ŸŒ
LeetCode
leetcode.com โ€บ problems โ€บ reverse-words-in-a-string
Reverse Words in a String - LeetCode
Can you solve this real interview question? Reverse Words in a String - Given an input string s, reverse the order of the words. A word is defined as a sequence of non-space characters.
๐ŸŒ
Online String Tools
onlinestringtools.com โ€บ reverse-string
Reverse a String โ€“ Online String Tools
Simple, free and easy to use online tool that reverses strings. No intrusive ads, popups or nonsense, just a string reverser. Load a string and reverse it.