StrLen()

문자열에 들은 문자의 갯수를 열람합니다.

Length := StrLen(String)

매개변수

String
The string whose contents will be measured.

반환 값

This function returns the length of the string.

논평

If String is a variable to which ClipboardAll was previously assigned, StrLen() will retrieve its total size.

StringLen, InStr(), SubStr(), Trim(), StringLower, StringUpper, StrPut(), StrGet(), StrReplace(), StrSplit()

예제

Retrieves and reports the count of how many characters are in a string.

StrValue := "The quick brown fox jumps over the lazy dog"
MsgBox % "The length of the string is " StrLen(StrValue) ; 결과: 21