0

HELP IN JS CODE

i want to delete first and last letter and if could add space between words https://code.sololearn.com/W98O3XXSO7a5/?ref=app

26th May 2022, 11:02 PM
ESLAM YASSER
ESLAM YASSER - avatar
4 Respostas
0
Thanks for sharing your code. You can remove text from a string in Javascript using 2 methods, substring and replace. Here are some examples: https://www.w3schools.com/jsref/jsref_substring.asp https://www.w3schools.com/jsref/jsref_replace.asp
27th May 2022, 1:00 AM
Chris Coder
Chris Coder - avatar
+ 1
What is the practical use for this?
27th May 2022, 12:52 AM
Chris Coder
Chris Coder - avatar
+ 1
Chris Coder thank you i did add substring before but in wrong place now its in right place
27th May 2022, 11:41 AM
ESLAM YASSER
ESLAM YASSER - avatar
0
ESLAM YASSER Brilliant! Well done - Happy Coding
27th May 2022, 3:44 PM
Chris Coder
Chris Coder - avatar