1. 개발자를 위한 웹 기술
  2. XML: 확장가능한 마크업 언어
  3. XPath
  4. Reference
  5. Functions
  6. string-length

This page was translated from English by the community. Learn more and join the MDN Web Docs community.

View in English Always switch to English

string-length

string-length 함수는 인수로 준 문자열의 문자수를 반환합니다.

구문

string-length( [string] )

인수

string (선택사항)

평가할 문자열. 빼면, 쓰는 문자열은 문자열로 변환된 문맥 노드와 같습니다.

반환

문자열의 문자수와 같은 정수.

정의

XPath 1.0 4.2

Gecko 지원

지원함.

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.

AltStyle によって変換されたページ (->オリジナル) /