Javascript 분할 문자까 charcter

코드 예제

0
0

분할 문자열을 char js

var myString = "split string to char";
var myArray = [...myString];
/* 
*
*  myArray :
*  ["s", "p", "l", "i", "t", " ", "s", "t", "r", "i", "n", "g", " ", "t", "o", " ", "c", "h", "a", "r"]
*
*/
0
0

분할 문자열 모든 n 자 javascript

console.log("abcd".match(/.{1,2}/g)); // ["ab", "cd"]

다른 언어로

이 페이지는 다른 언어로되어 있습니다

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................