Pointers and Objects - how many Objects are stored in Ram?

Don't use the String (capital S) class. No, really... Don't!

imho "deleted" means cleaned by garbage collector

There is no such thing as a garbage collector on AVR's.

AFAICT, "functionA" creates 4 instances and "functionB" creates 3 (because it references "textB1" as "text")