- 1
- 2
- 3
- 4
- 5
- 6
function startsWith(string, substring) {
if (substring!=string.slice(0, substring.length)) return false; else return true;
}
function endsWith(string, substring) {
if (substring!=string.slice(string.length - substring.length)) return false; else return true;
}
inho 01.02.2018 13:56 # 0
bormand 02.02.2018 19:46 # 0
g0_1494089156986 02.02.2018 22:25 # −1