So überprüfen Sie Zeichen in einem String -JavaScript
let example = "Example String!";
let ourSubstring = "Example";
if (example.includes(ourSubstring)) {
console.log("The word Example is in the string.");
} else {
console.log("The word Example is not in the string.");
}
Attractive Alpaca