TcHmiApplication.SplitPath Method (String, StringSplitOptions)

Splits the specified path into substrings based on PathElementSeparator.

Namespace:  TcHmiSrv.Core.General
Assembly:  TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0

Syntax

C#

public static string[] SplitPath(
    string path,
    StringSplitOptions options
)

Parameters

path

Type: System.String
The path to split.

options

Type: System.StringSplitOptions
RemoveEmptyEntries to omit empty array elements from the array returned; or None to include empty array elements in the array returned.

Return Value

Type: .String.
An array whose elements contain the substrings in path that are delimited by PathElementSeparator.

Reference

TcHmiApplication Class

SplitPath Overload

TcHmiSrv.Core.General Namespace