Method 1 – substring function
var str= "Hello TecAdmin!";
var newStr = str.substring(0, str.length - 1);
Method 2 – slice function
var str = "Hello TecAdmin!";
var newStr = str.slice(0, -1);
https://superuser.com/questions/590600/ufw-is-active-but-not-enabled-why etting ENABLED=yes in /etc/ufw/ufw.conf did it for me. $ sudo ...
Không có nhận xét nào:
Đăng nhận xét