LTrim$

Takes two parameters, Source, Search

Description:

This command compares the left-most characters (bytes) of both parameters, if an exact match is found, the given Source is trimmed of the given Search, otherwise if no match is found, then original Source is returned.

Example:

[New] source  = "Example"
[New] pSearch = "Exz"

[New] result = LTrim$ source, pSearch

Html ("result: " & result) 'result: Example
[New] source  = "Example"
[New] pSearch = "Exa"

[New] result = LTrim$ source, pSearch

Html ("result: " & result) 'result: mple