No, "but" is typically used as a conjunction to contrast two ideas or clauses. It is not commonly used as a preposition in English grammar.
A preposition is used before a noun or pronoun to show its relationship to another word in the sentence. It indicates location, time, direction, or other relationships between elements in a sentence.
You use a preposition in a prepositional phrase, such as "I will be with you in a minute."
Nouns, pronouns, gerunds, and noun phrases can commonly stand after a preposition in a sentence.
use the preposition
The preposition "against" is typically used after the word "prejudice." For example, one might say "prejudice against a certain group of people."
When can you use than as a preposition rather than a conjunction?
no
no
At is a preposition. And is a conjunction.
at by
after noun