LlStringLength/ko
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
설명
함수: integer llStringLength( string str );주의
- 마지막 글자의 색인은 문자열의 길이와 같지 않다.
- 글자 색인은 0에서 시작한다(첫 번째 글자의 색인이 0이다).
예제
<lsl> // 다음을 가정: // 물체 이름: LSLWiki // 스크립트 이름: _lslwiki
default {
state_entry() { string HowLongAmI = "123"; integer strlen = llStringLength(HowLongAmI); llOwnerSay( "'" + HowLongAmI + "' has " +(string) strlen + " characters."); // 물체 LSLWiki의 소유자는 // LSLWiki: '123' has 3 characters. // 이라는 알림을 보게 될 것이다. }
} </lsl>
함께 보기
함수
• | llGetListLength |
이 글이 유용하지 않으세요? LSL Wiki의 관련항목이 도움을 줄 수 있을 지도 모릅니다.