how to reverse a text in blueprism

Sukesh Kumaru

Active Member
Hello,

First find the total length of the string.
For Ex: sukesh.
Here total length of the string will be 6, then copy the last letter based on the last position to another data item.
After that decrease the count by 1 (i.e Total length -1 (6-1=5)), and copy that letter to the other data item where you previously done.
repeat this process unitl zero.

Good Luck.
 

SaJ

New Member
Hi,

better you can use c# code and refer the logic in the attachment.

Thanks,
Sa J
 

Attachments

  • 1557852244616.png
    28.1 KB · Views: 156
Last edited:

LeoLugo

Member
I did it with a Code Stage and Visual Basic. It seemed like that would be the easiest way to do it.
 

Attachments

  • inputs.PNG
    18.5 KB · Views: 108
  • outputs.PNG
    18.7 KB · Views: 105
  • code.PNG
    15.4 KB · Views: 117

Deviprasadv

New Member
Hello,

First find the total length of the string.
For Ex: sukesh.
Here total length of the string will be 6, then copy the last letter based on the last position to another data item.
After that decrease the count by 1 (i.e Total length -1 (6-1=5)), and copy that letter to the other data item where you previously done.
repeat this process unitl zero.

Good Luck.

Hey Sukesh how to copy the last letter based on the last position?
 

Sukesh Kumaru

Active Member
Hey Sukesh how to copy the last letter based on the last position?
Hello,

First find the length and then specify that length data item as string extraction position in next operation.
For ex. Data item has Sukesh in it
Find the length of the data item, you will get as 6, then specify this length data item in string extraction position.

Good Luck.
 
Top