>>> 'qwertyuiop'.split( 't' ); // Вызов метода с разделителем-строкой
Array ["qwer", "yuiop"] // Результат
'qwertyuiop'.split( /t/ ); // Вызов метода с разделителем-регэкпом без групп
Array ["qwer", "yuiop"] // Результат
'qwertyuiop'.split( /(t)/ ); // Вызов метода с разделителем-регэкпом с группой
Array ["qwer", "t", "yuiop"] // Результат
'qwertyuiop'.split( '' );
'qwertyuiop'.split( /(.*?)/ );
'qwertyuiop'.split( /(.*)/ );
'qwertyuiop'.split( /(.+?)/ );
'qwertyuiop'.split( /\u0000/ );
'qwertyuiop'.split( /()/ );
'qwertyuiop'.split( /(.+)/ );
'qwertyuiop'.split( /(?:)/ );
Страница создана за 0.079 сек. Запросов: 20.