How to split data using UiPath studio activities?

activities
studio
core_activities

#1

Hi Team,

I have a requirement of splitting the data for the below string using space as delimiter –
The flood map for the selected area is number 06037C1620F, effective on 09/26/2008

Kindly let me know how to split data using UiPath studio activities,

Thanks in advance.


#2

@chirag, We have many posts and samples for your requirement in forum. Kindly refer those before you post,

References :

  1. How to Split a String

  2. How to Split a String

  3. How to Split a String

Regards,
Dominic :slight_smile:


#3

Hi @chirag,
YourString.split(" ".c) this command returns value in string array.
by iterating that array you can get your requirement.
or
We have an Activity called Split String in Uipath
Both are performing same.
Reagrds,


#4

you can use
split
or
subsplit
functions to split data’s
eg)hello world
variable_name.ToString.Split(" "c)(0) means it takes “hello"
variable_name.ToString.Split(” "c)(1) means it takes “world”