![]() |
VOOZH | about |
Syntax: chop(String) Parameters: String : It is the input string whose last characters are removed. Returns: the last removed character.Example 1: Output:
Chopped String is : GfG is a computer science porta Removed character is : lExample 2: Output :
Chopped String is : [1, 2, 3 Removed character is : ]