Is there any advantage and or disadvantage of using Remove instead of Substring to manipulate a string?
Or I can use any that is convenient to trimming to string.
Is there any advantage and or disadvantage of using Remove instead of Substring to manipulate a string?
Or I can use any that is convenient to trimming to string.
It depends on use case. Whatever is logically convenient then you go for it.