![]() |
|
||||||||||
|
|||||
|
.grin! wuz here
|
или так:
function trim(txt){ while(txt.charCodeAt(0)<33) txt = txt.substs(1, txt.length); while(txt.charCodeAt(txt.length-1)<33) txt = txt.substs(0, txt.length-1); return txt; } my_txt = trim(" то что нужно \n \t ");
__________________
Breakcore them all! |
![]() |
Часовой пояс GMT +4, время: 09:00. |
|
|
« Предыдущая тема | Следующая тема » |
|
|