1. indicates word or phrase being defined
生きるとは、死ぬということ。To live is to die.
2. used for quoting (thoughts, speech, etc.)
indicates contrast or adds emphasis to a negative statement
逃げろ、とは言われなかった。I wasn't told to run.
3. with
more emphatic than と
学ぶ点も多かったし、彼らとは今後も仲良くしていきたい。There were many things to learn, and I want to continue getting along well with them in the future.
4. (not) as much as; (not) so much as
with neg. verb
この仕事なら、一時間とはかからないよ。This job won't take even an hour.
5. the fact that; to think that; such a thing as
indicates surprise, disbelief, anger, etc.; sometimes at sentence end
まさか、そんなに色々と考えた上でのあの派手な行動だったとは。I never imagined that such flashy behavior was the result of thinking about so many things.