AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Programmieren allgemein Delphi retrive each string from a big string delimted with ";"
Thema durchsuchen
Ansicht
Themen-Optionen

retrive each string from a big string delimted with ";"

Ein Thema von obiwankby · begonnen am 2. Aug 2010 · letzter Beitrag vom 2. Aug 2010
Antwort Antwort
obiwankby

Registriert seit: 4. Jun 2010
15 Beiträge
 
RAD-Studio 2010 Arc
 
#1

retrive each string from a big string delimted with ";"

  Alt 2. Aug 2010, 14:12
Hi,

How can I retrive each 'member' of string from a big string delimited with ';'.

stringBig: ';str1;str2;str3 ...'

I want to retrive separate from stringBig: str1, str2 ...

bye
obi wan kby
  Mit Zitat antworten Zitat
Benutzerbild von DeddyH
DeddyH

Registriert seit: 17. Sep 2006
Ort: Barchfeld
27.542 Beiträge
 
Delphi 11 Alexandria
 
#2

AW: retrive each string from a big string delimted with ";"

  Alt 2. Aug 2010, 14:18
Create a stringlist, set Delimiter to ';' and DelimitedText to your string. Now you got each substring in one item of the list.
Detlef
"Ich habe Angst vor dem Tag, an dem die Technologie unsere menschlichen Interaktionen übertrumpft. Die Welt wird eine Generation von Idioten bekommen." (Albert Einstein)
Dieser Tag ist längst gekommen
  Mit Zitat antworten Zitat
Benutzerbild von Valle
Valle

Registriert seit: 26. Dez 2005
Ort: Karlsruhe
1.223 Beiträge
 
#3

AW: retrive each string from a big string delimted with ";"

  Alt 2. Aug 2010, 14:21
Maybe you're looking for explodeexplode?

Best regards,
Valle
Valentin Voigt
BOFH excuse #423: „It's not RFC-822 compliant.“
Mein total langweiliger Blog
  Mit Zitat antworten Zitat
Benutzerbild von fkerber
fkerber
(CodeLib-Manager)

Registriert seit: 9. Jul 2003
Ort: Ensdorf
6.723 Beiträge
 
Delphi XE Professional
 
#4

AW: retrive each string from a big string delimted with ";"

  Alt 2. Aug 2010, 14:21
Hi!

It's also possible to use the split function provided in our Code-Library:
http://www.delphipraxis.net/library-...unktion-23672/

Bye,
Frederic
Frederic Kerber
  Mit Zitat antworten Zitat
obiwankby

Registriert seit: 4. Jun 2010
15 Beiträge
 
RAD-Studio 2010 Arc
 
#5

AW: retrive each string from a big string delimted with ";"

  Alt 2. Aug 2010, 15:24
Thx,

'Split-Funktion' its a good solution for my application.

Danke,

ObiWanKby
obi wan kby
schiau
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 09:16 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz