Can we subtract StringVar and string ??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can we subtract StringVar and string ???

1st Jan 2020, 3:56 PM
Sushmita Khadka
Sushmita Khadka - avatar
3 Answers
+ 1
There is splice method in most of programming language which use to add and remove content. But you can't directly substrate from one to other because it give you error.
8th Jan 2020, 12:41 PM
Abhishek nirwan
Abhishek nirwan - avatar
0
How to subtract list and strings or tuples and string??
8th Jan 2020, 12:51 PM
Sushmita Khadka
Sushmita Khadka - avatar
0
For that make a function to remove all characters from one which present in other For that use assignment operator for that char
8th Jan 2020, 12:56 PM
Abhishek nirwan
Abhishek nirwan - avatar