• Skip to main content
  • Skip to search
    • Technologies Overview
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • HTTP
    • APIs
    • Browser Extensions
    • MathML
    • Learn web development
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • Game development
    • ...more docs
    • Send Feedback
    • Contribute to MDN
    • Report a content issue 🌐
    • Report a platform issue 🌐
  1. Technologie Internetowe dla developerów
  2. XPath
  3. Funkcje
  4. starts-with
  • Change language
  • View in English

starts-with

Dokumentacja XSLT/XPath: Elementy XSLT, Funkcje EXSLT, Funkcje XPath, Osie XPath


Funkcja starts-with sprawdza, czy pierwszy łańcuch znaków rozpoczyna się drugim łańcuchem i zwraca prawdę lub fałsz.

Składnia

starts-with( stóg siana , igła)

Argumenty

stóg siana
Przeszukiwany łańcuch znaków.
igła
Szukany łańcuch znaków.

Zwraca

True, jeśli stóg siana rozpoczyna się podciągiem igła. W przeciwnym wypadku false.

Definicja

XPath 1.0 4.2

Gecko

Obsługuje.

Last modified: Jan 16, 2019, by MDN contributors

Change your language
  • Web Technologies
  • Learn Web Development
  • About MDN
  • Feedback
  • About
  • MDN Web Docs Store
  • Contact Us
  • Firefox

MDN

Mozilla

© 2005-2021 Mozilla and individual contributors. Content is available under these licenses.

  • Terms
  • Privacy
  • Cookies