Help understanding structure behaviior in esp now example

Show us how it’s flat…. It’s not…so the string manipulation is not the issue there. Also the constructors of the class are meant to be called through cumbersome macros, making it thus more difficult than necessary to use that type as part of a struct.
Try it.