Split a Path String


I would like to split a string containing different folder paths. I have them separated in with a “;”. Ideally, I would like to split the whole string into substrings and then, put them inside an array, so I can search in it later.

Here is an example of the string:


yourString.Split(";"c) will provide you an array of all substrings.

1 Like

@Alejandro_Vega_Romero ,

An Alternate :

filePathsArray = Split("Your String Value",";").ToArray

Here, filePathsArray is a Array of String type variable.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.