voidOnStart() { //--- 테스트 문자열 정의 stringtext="123456789012345"; //--- 문자열의 심볼의 수를 가져옵니다. intstr_len=StringLen(text); //--- 문자열과 그 안의 심볼 수를 로그에 표시합니다. PrintFormat("The StringLen() function returned the value of %d chars in string: '%s'", str_len, text); /* 결과 The StringLen() functionreturnedthevalueof15charsin string: '123456789012345' */ }