In MongoDB, the $ltrim aggregation pipeline operator removes whitespace from the beginning of a string. This includes the null character.
It can also remove any character specified. For example, you could use it to remove all hyphen characters (-) from the beginning of a string.