Write a script that uses the following text:
There are several string methods for removing whitespace
from the ends of a string Each returns a new string leaving the
original unmodified Strings are immutable so each method that
appears to modify a string returns a new one
Tokenize the above bolded text - using space characters as
delimiters - output only those words beginning with the letter 's'
and ending with the letter ‘e’.
Write a script that uses the following text: There are several string methods for removing whitespace from the ends of a
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am