# PathHelper.Split

Kind: Method  
Namespace: `Sisk.Core.Helpers`  
Assembly: `Sisk.Core.dll`  
Source: https://docs.sisk-framework.org/api/Sisk.Core.Helpers.PathHelper.Split.html

## Split(string) {#Sisk_Core_Helpers_PathHelper_Split_System_String_}

Splits the specified path into its individual segments, removing empty entries and trimming whitespace.

```csharp
public static string[] Split(string path)
```

### Parameters

`path` [string](https://learn.microsoft.com/dotnet/api/system.string)

The path to split.

### Returns

[string](https://learn.microsoft.com/dotnet/api/system.string)\[\]

An array of path segments.
