字符文本中的字符太多_UiPath进阶——文本抓取及处理字符串

UiPath进阶--文本抓取及处理字符串

Further study of UiPath-text capture

and string processing

首先打开软件,新建文件名称

First open the software, create a new file, and fill in the file name

13aaa004b09af8d6f2a6e3355adc221c.png

从左侧Activities区,拽取自己需要的组件,在Attach Browser组件中选取需要抓取的页面

Drag the components you need from the Activities area on the left, and select the page you need to grab in the Attach Browser component

2c4bcc7edd2ec3230879e5d291985c1e.png

使用Get Text组件选取页面中需要的文本信息并在属性Value处设置一个输出变量Text

Use the Get Text component to select the text information needed in the page and set an output variable Text at Value

dad0c2dfd89354ecbe84c109b624beba.png ebbb41d6d8b092c48d0e470c1b12dc58.png

得到输出文本Text

Get the output text——Text

e38e37da9ba8bdc3c209565b9badbf71.png

使用Assign组件定义新的变量来处理输出得到的字符串文本

Use the Assign component to define new variables to process the output string text

8b2229fe1fa14a7a9c3d3744ff2ffc9f.png

1.从Text去除字符串中的”Client ID:”

Remove the "Client ID:" from the text string

816a1098b7098f5fddddc53f62027f2d.png d5e765c1530499626e0c48ac1eabef20.png

2.从ClientID中去除“Client Name:”

Remove "Client Name:" from ClientID

8557af8ddde3aa5d9c72f450180580e1.png 5dfd6b3876452b4fdc7e83f4275ebb1e.png

3.从ClientName中去除”Client Country:” 

Remove "Client Country:" from ClientName

a5712b03b2824eefa706c9286ee05588.png 343b09a48772b1c5d5440a6937e395de.png

4.从ClientCountry中去除换行键Remove the newline key from ClientCountry

Use the Assign component to define new variables to process the output string text

2ea9b9cfe037730f5d34fa4fd766fda9.png 6e1f66ee1d54c551c44a3df2606f1e12.png

5.  从Client中去除空格键

Remove the space bar from the Client

7f607698279bf2ffd46d3a03f7bfbead.png 1632a1fa5dadff0318d1763c5f69264d.png

最后使用Log Message组件来输出Client1变量得到需要的字符串

Finally, use the Log Message component to output the variable Client1 to get the required string.

9f4580ecbf0d5424324bebe94d2ca185.png

到这为止,文本抓取及处理字符串就都完成了

So far, text capture and string processing are completed.

使用RPA,即机器人流程自动化工具软件,可以为企业带来许多好处,能够提高利润降低成本并提高市场竞争力。在提高合规性和安全性的同时降低运营成本,不再需要大量人力,仅仅只需要少数的几名业务人员与运营维护人员。在使用文本抓取及处理字符串的过程中我深切体会到了这种机器人流程自动化的好处,使工作更加的简洁,提高了工作效率。

Using RPA, the robotic process automation tool software, can bring many benefits to enterprises, which can increase profits, reduce costs and improve market competitiveness. While improving compliance and safety, reducing operating costs, it no longer requires a lot of manpower, only a few business personnel and operation and maintenance personnel. In the process of using text capture and string processing, I deeply realized the benefits of this kind of robot process automation, which makes the work more concise and improves work efficiency.

a861baca978d67872db07b1643e8db14.png

文  |  数字力量 RPA

版  |  数字力量 RPA

  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值