MENU
Question -

Define strip ([chars]) with its syntax



Answer -

The method strip( ) returns a copy of the string in which all chars have been stripped from the beginning and the end of the string (default whitespace characters).
Syntax: str.strip([chars]);

Comment(S)

Show all Coment

Leave a Comment

Free - Previous Years Question Papers
Any questions? Ask us!
×