Am 10.03.25 um 10:25 schrieb Dr. Harry Knitter:
Am 10.03.25 um 09:53 schrieb Hessler, Klaus-Michael:
Herzlichen Dank, das
hast du Tomaten auf den Augen? Ein \backslash ist halt kein /slash.
habe ich leider übersehen; bitte entschuldige meinen Fehler.
Aber:
=LÄNGE(REGAUS(A1;"/[^/]*$")) #in A1 steht »/etc/default/grub«
evtl. möchtest du *eigentlich*
=REGAUS(A1;"/[^/]*$")
Die erste Formel macht Probleme, wenn in A1 steht "/etc/sane.d/
escl.conf.pacnew":
Länge liefert 17
REGAUS liefert "/escl.conf.pacnew".
Warum? Wie erzieleich das korrekte Ergebnis, d.h. Teilung am letzten
/ slash (Position 12), ohne den das REGAUS-Ergebnis vom A1-String "zu
subtrahieren"?
=WECHSELN(REGAUS(A1;"/[^/]*$");"/";"")
Aua…
=REGAUS(A1;"[^/]*$") # liefert den Dateinamen z.b. »escl.conf.pacnew«
=REGAUS(A$1;"[^/]*$";"") # liefert das Wurzelverzeichnis z.B.
»/etc/sane.d/«
=REGAUS(A$1;"/[^/]*$";"") # wie vorher aber ohne den slash: »/etc/sane.d«
--
Liste abmelden mit E-Mail an: users+unsubscribe@de.libreoffice.org
Probleme? https://de.libreoffice.org/hilfe-kontakt/mailing-listen/abmeldung-liste/
Tipps zu Listenmails: https://wiki.documentfoundation.org/Netiquette/de
Listenarchiv: https://listarchives.libreoffice.org/de/users/
Datenschutzerklärung: https://www.documentfoundation.org/privacy
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.