Date: prev next · Thread: first prev next last
2025 Archives by date, by thread · List index


Danke @ Dr. Harry Knitter:
=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;"/[^/]*$");"/";"")
Funktioniert, aber der Teil war vorher schon korrekt; der Pfad wird nicht korrekt geliefert, auch wenn ich den WECHSELN-Code auch dort einfüge.
--
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.