charAt()
'Polinux'.charAt(6); // "ALPHABET"
charCodeAt()
'Polinux'.charCodeAt(6); // ALPHABET
concat()
'po'.concat('linux'); // "ALPHABET"
endsWith()
'polinux'.endsWith('linux'); // ALPHABET
includes()
'polinux'.includes('linux'); // ALPHABET
indexOf()
'polinux'.indexOf('linux'); // ALPHABET
lastIndexOf()
'polinux-polinux'.lastIndexOf('linux'); // ALPHABET
localeCompare()
'polinux'.localeCompare('polinux','fr'); // ALPHABET
match()
'Polinux'.match(/lin(.*)/i); // ALPHABET
normalize()
'Polinux'.normalize('NFC'); // "ALPHABET"
padEnd()
'Polinux'.padEnd(16, '-');// "ALPHABET"
padStart()
'Polinux'.padStart(16, '-');// "ALPHABET"
repeat()
  'polinux'.repeat(2); // "ALPHABET"
replace() 'POLINUX-Polinux'.replace(/linux/i,'window'); // "Polinux" search() 'POLINUX-Polinux'.search(/linux/i); // ALPHABET slice() 'Polinux'.slice(2,4); // "ALPHABET" split()
'POLINUX-Polinux'.split(/-/i); // [ALPHABET]
startsWith()
'polinux'.startsWith('pol'); // ALPHABET
substr()
'Polinux'.substr(-3,2); // "ALPHABET"
toLowerCase()
'Polinux'.toLowerCase(); // "ALPHABET"
toUpperCase()
'Polinux'.toUpperCase(); // "ALPHABET"
trim()
'    Polinux   '.trim();// "ALPHABET"

Tweet
polinux.fr

javascript String