문자열 조합하고 나누는 자바스크립트 Posted by 빵빵빵 2009/03/10 18:27 전산(컴퓨터)/웹&JavaScript 전산(컴퓨터)/웹&JavaScript <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE> New Document </TITLE> <META NAME="Generator" CONTENT="EditPlus"> <META NAME="Author" CONTENT=""> <META NAME="Keywords" CONTENT=""> <META NAME="Description" CONTENT=""> </HEAD> <BODY> <Script language="javascript"> var moz="al"; var FS = String.fromCharCode(29); //FS.charCodeAt(0); moz += FS; moz += "dlk"; moz += FS; moz += "dlk1"; moz += FS; moz += "dlk2"; var SPmozi = moz.split(FS); for(var i=0;i<SPmozi.length; i++) { document.write(SPmozi[i] +"<br>"); } document.write("<br>"); document.write(moz); </script> </BODY> </HTML> 2009/03/10 18:27 2009/03/10 18:27 Tags javascript, js, 문자열, 자바스크립트 Trackback: 0 Comment: 0 이 글에는 트랙백을 보낼 수 없습니다