System.StrUtils.SplitString

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function SplitString(const S, Delimiters: string): TStringDynArray;

C++

extern DELPHI_PACKAGE System::TStringDynArray __fastcall SplitString(const System::UnicodeString S, const System::UnicodeString Delimiters);

Properties

Type Visibility Source Unit Parent
function public
System.StrUtils.pas
System.StrUtils.hpp
System.StrUtils System.StrUtils

Description

Splits a string into different parts delimited by the specified delimiter characters.

SplitString splits a string into different parts delimited by the specified delimiter characters. S is the string to be split. Delimiters is a string containing the characters defined as delimiters.

SplitString returns an array of strings of type System.Types.TStringDynArray that contains the split parts of the original string.

See Also