shorthand と

is a shorthand for Quotation. Since it is a contraction, it is onlycasual .

今、時間がないって聞いた、本当? I heard that you don't have time today. Is that right?

Sometimes even implies a 言う has been left out.

お金がないって He said "I don't have money"

え?何だって Huh? what is it you said?

Shorthand は

can replace the topic marker は inspoken-language .

私ってみんなに嫌われている? Am I disliked by everyone?

トマトって野菜なの?フルーツかも? As for tomatoes, are they vegetables? fruits maybe?