TAILIEUCHUNG - Flash: ActionScript Language Reference- P9

Tham khảo tài liệu 'flash: actionscript language reference- p9', công nghệ thông tin, đồ họa - thiết kế - flash phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Availability Flash Player 5. Usage ength Number Description Property an integer specifying the number of characters in the specified String object. Because all string indexes are zero-based the index of the last character for any string x is - 1. Example The following example creates a new String object and uses to count the number of characters var my_str String Hello world trace output 12 The following example loops from 0 to . The code checks the characters within a string and if the string contains the @ character true displays in the Output panel. If it does not contain the @ character then false displays in the Output panel. function checkAtSymbol my_str String Boolean for var i 0 i i if i @ return true return false trace checkAtSymbol dog@ output true trace checkAtSymbol Chris output false An example is also in the file in the HelpExamples folder. The following list gives typical paths to this folder Windows Program Files Macromedia Flash MX 2004 Samples HelpExamples Macintosh HD Applications Macromedia Flash MX 2004 Samples HelpExamples 801 Availability Flash Player 5. Usage start Number end Number String Parameters start A number the zero-based index of the starting point for the slice. If start is a negative number the starting point is determined from the end of the string where -1 is the last character. end A number an integer that is 1 the index of the ending point for the slice. The character indexed by the end parameter is not included in the extracted string. If this parameter is omitted is used. If end is a negative number the ending point is determined by counting back from the end of the string where -1 is the last character. Returns A string a substring of the specified string. Description Method returns a string that includes the start character and all characters up to .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.