Assessment wanted for Strings 2 skill test_Dinesh

Hello, I need a review for this code.
Here are the code pen link and the task link.

Thank you in Advance!

Hi @Dinesh_Sake

Although using the index of “.” works (if you add 1 to include the dot). The exercise asks to

Use a combination of the variables you have and available string properties/methods

Can you think of a way to solve it this way?

2 Likes