![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
I have a dynamic text string...(it is never the same) and I need to convert the blank spaces to underscores. For example....how do I convert the following text string; 'hj fdsffsf jojjkpko rewrrwrw' ...to the following - 'hj_fdsffsf_jojjkpko_rewrrwrw' (Remember the text and the structure of the string is never the same) Thanks in advance. TK |
| |||
|
Hello, You can create a simple vb script that would replace the space with underscore in any given string. You can call VB Script using 'Run Script' command of Automation Anywhere. Youcan pass parameter and can get return value in a user variable using this command. For your convenience, we have created a sample task. To run this task, . Please copy .atmn under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder. . Copy .vbs under C:\. . Run the task. Task would display the resultant string in a message box. Hope that helps. |
![]() |
| Thread Tools | |
| Display Modes | |
| |