-
FlexPro
- At a Glance
- Features & Options
- Applications
- All Advantages
- What’s New in FlexPro 2021
- Try FlexPro For Free
- FlexPro View OEM Freeware
- Buying Guide
- Login
- Language
-
-
-
- +49 6894 929600
- infoweisang.com
- Google Maps
- Products
- News
- Support
- Company
- Contact
- Login
- Language
-
-
-
- +49 6894 929600
- infoweisang.com
- Google Maps
Home > Community > FPScript > search in string > Reply To: search in string

Leider stellt FPScript keine eingebaute Funktion zum Mustervergleich bereit. Für das konkrete Beispiel “p_Zyl_1*IMEPn*” könnte durch
StringFind(str, "p_Zyl_1") == 0 And StringFind(str, "IMEPn") > 0
die Zeichenkette str mit dem gegebenen Muster verglichen werden.
Vielleicht kann das Problem aber schon im Vorfeld umgangen werden. Falls die Liste der Namen durch die Object.Names-Eigenschaft ermittelt werden soll, kann man durch Angabe eines regulären Ausdrucks die Auswahl bereits dort eingeschränken. Suchen Sie etwa Datensätze oder Formeln (im gleichen Ordner) so liefert
.\.Objects("p_Zyl_1.*IMEPn.*").Names
die Namen der entsprechenden Objekte. Dabei wird, wie bei allen FlexPro-Objektnamen, nicht zwischen Groß- und Kleinschreibung unterschieden. Weitere Informationen zu regulären Ausdrücken finden Sie in der Online-Hilfe im Index unter Objects.Names-Eigenschaft (FPScript).
You are currently viewing a placeholder content from Facebook. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou need to load content from reCAPTCHA to submit the form. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from Instagram. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from X. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More Information