Autor Beitrag
bogus2k
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 25



BeitragVerfasst: Mo 15.03.04 13:30 
in einer if anweisung vergleiche ich zwei strings,
die jedoch nicht die selbe gross und kleinschreibung haben,
wie kann ich trotzdem ein true bekommen?
beide strings in kleinbuchstaben umwandeln? wenn ja, wie ist der befehl dafuer?
smiegel
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 992
Erhaltene Danke: 1

WIN 7
D7 Prof., C#, RAD XE Prof.
BeitragVerfasst: Mo 15.03.04 13:34 
Hallo,

den Befehl den Du suchst heißt LowerCase.

_________________
Gruß Smiegel
Ich weiß, daß ich nichts weiß, aber ich weiß mehr als die, die nicht wissen, daß sie nichts wissen. (Sokrates)
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: Mo 15.03.04 13:34 
Hallo!

Alles umwandeln ist das richtige Stichwort. Das machst Du mit AnsiUpperCase(String) oder AnsiLowerCase.

MfG
Peter

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".
bogus2k Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 25



BeitragVerfasst: Mo 15.03.04 13:38 
danke fuer die schnelle antwort
AndyB
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1173
Erhaltene Danke: 14


RAD Studio XE2
BeitragVerfasst: Mo 15.03.04 14:08 
Und wie wäre es mit
- CompareText
- AnsiCompareText
- SameText
- AnsiSameText

_________________
Ist Zeit wirklich Geld?