H
H
Hedin0072019-09-23 14:12:24
Delphi
Hedin007, 2019-09-23 14:12:24

How to get a substring of a view?

Hello! Help please solve the problem.
We have a LINE like:
*.txt;*.ini;*.cfg;
You need to get an ARRAY from it, or at least a string like:
txt ini cfg
If it's an array, then the first element should be equal to txt, the second ini... And if it's a string, then just a string.
VBA or Delphi 7.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
H
Hemul GM, 2019-09-23
@Hedin007

TStringList.Delimiter := ';';
TStringList.DelimitedText := <твой текст>;

After that, all elements will be in the list

A
Alexander, 2019-09-23
@NeiroNx

split function

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question