![]() ![]() The common points of substring( ) and slice( ) methods: The slice method also expects the same two parameters: string.slice(startIndex, endIndex) The slice( ) method is similar to the substring( ) method and it also returns a substring of the original string.
0 Comments
Leave a Reply. |