►
Run
x = '@.....hello world..@@@' result = x.strip('.@') print('Original String : ', x) print('Stripped String : ', result)
Output