[muscle] Re: retreiving data from a message

  • From: "Jeremy Friesner" <jaf@xxxxxxxxxxxx>
  • To: muscle@xxxxxxxxxxxxx
  • Date: Tue, 31 May 2005 09:03:22 PDT (-0700)

> Can you give me a hint of how to retreive the data from a received
> message =3F  I can find in the examples how to add a string to a message
> but not how to retreive the data from it.

Use the Find*() methods, e.g.

String myString;
if (msg.FindString("myfieldname", myString) =3D=3D B=5FNO=5FERROR) 
printf("String was [%s]\n", myString());

-Jeremy



Other related posts: