Takes two parameters, Source, Search


This command removes the Search value from the left and right characters of the Source if they exists and then returns the modified Source value.


[New] source = "abcdef"
[New] search = "ab"

[New] results = Trim$ source, search
Html ("results: " & results) 'results: cdef

Note: if you are looking to remove characters from the middle of the Source, try the Remove$ command