Thema: Delphi Programmzeile ?

Einzelnen Beitrag anzeigen

Benutzerbild von Luckie
Luckie

Registriert seit: 29. Mai 2002
37.621 Beiträge
 
Delphi 2006 Professional
 
#2

Re: Programmzeile ?

  Alt 10. Okt 2003, 05:56
Hilfe kaputt?
Zitat von Delphi-Hilfe:
Returns a string with occurrences of one substring replaced by another substring.

Unit

SysUtils

Category

string handling routines

type
TReplaceFlags = set of (rfReplaceAll, rfIgnoreCase);
function StringReplace(const S, OldPattern, NewPattern: string; Flags: TReplaceFlags): string;

Description

StringReplace replaces occurrences of the substring specified by OldPattern with the substring specified by NewPattern. StringReplace assumes that the source string, specified by S, may contain Multibyte characters.

If the Flags parameter does not include rfReplaceAll, StringReplace only replaces the first occurrence of OldPattern in S. Otherwise, all instances of OldPattern are replaced by NewPattern.

If the Flags parameter includes rfIgnoreCase, The comparison operation is case insensitive.
In Zeile 0 der Stringliste werden schlicht und ergreifend alle ";" durch ein Zeilenumbruch ersetzt. Dies wird dann der Texteigenschaft eines Objektes zugewiesen.
Michael
Ein Teil meines Codes würde euch verunsichern.
  Mit Zitat antworten Zitat