The Nora Ephron play, starring Tom Hanks, drew well at the box office in its first weekend of performances.