Difficulty Rating: 1.75 / 5
If you are trying to check for a specific character or character in a string, two useful methods are:
Regular Expressions are also great to use but they can be challenging to learn and master. The string methods above are a great and common approach. As your coding skills advance, Regular Expressions are a great topic to study.
Review how to use the slice method
'fullstack'.slice(0,4) // --> 'full' .