AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Sprachen und Entwicklungsumgebungen Sonstige Fragen zu Delphi Delphi String-Bearbeiten (Filtern, Löschen, etc.)
Thema durchsuchen
Ansicht
Themen-Optionen

String-Bearbeiten (Filtern, Löschen, etc.)

Ein Thema von PierreB · begonnen am 11. Mär 2006 · letzter Beitrag vom 11. Mär 2006
 
Benutzerbild von s.h.a.r.k
s.h.a.r.k

Registriert seit: 26. Mai 2004
3.159 Beiträge
 
#2

Re: String-Bearbeiten (Filtern, Löschen, etc.)

  Alt 11. Mär 2006, 14:17
Schon mal die folgenden Proceduren probiert:
Delphi-Quellcode:
Pos Routine
 
Returns the index value of the first character in a specified substring that occurs in a given string.
 
Unit: System

function Pos(const substr: string, const str: string): Integer;
function Pos(const substr: WideString, const str: WideString): Integer;


Description
In Delphi, Pos searches for a substring, Substr, in a string, S. Substr and S are string-type expressions.
Pos searches for Substr within S and returns an integer value that is the index of the first character of Substr within S. Pos is case-sensitive. If Substr is not found, Pos returns zero.
The PosEx function is similar to Pos, but provides additional features and can be used in C++ code.
Delphi-Quellcode:
Copy(...)
Returns a substring of a string or a segment of a dynamic array.
»Remember, the future maintainer is the person you should be writing code for, not the compiler.« (Nick Hodges)
  Mit Zitat antworten Zitat
 


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 16:48 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz