Answer the question
In order to leave comments, you need to log in
How to work with String in Angular2?
How can I implement the following task - I have a text, I filled some words in it with spaces so that it was possible to add a hyphen when clicking (implemented). I need a way that would compare the entered hyphens with the words in check by clicking on ok and give 5 points for each correct solution. Tell. please how to compare the position of hyphens in words? Here is a working example plnkr.co/LTiI1hvx2DdVFhT4jryJ ">
Answer the question
In order to leave comments, you need to log in
plnkr.co/edit/PfjPA77D5lWdbdRbF9z9
_ instead of spaces, otherwise mess.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question