Delphi - Extract multiple substrings from a string -


i have string

";;;caption=c:;freespace=103571001344;size=162527178752;;;caption=d:;freespace=129889742848;size=336805752832;;;caption=v:;freespace=516807241728;size=1000207282176;;;; 

how can extract each partition data variable obtain this:

partition_1:='caption=c:;freespace=103571001344;size=162527178752'; partition_2:='caption=d:;freespace=129889742848;size=336805752832'; partition_n:='caption=v:;freespace=516807241728;size=1000207282176'; 

thank you!

this question applies well. basically, use tstringlist, set linebreak property 3 semicolons (;;;) , text property string.


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -