I would get the content length first, then use that as your basis for
the home-grown parse routine.

Bob Cozzi
www.rpgiv.com/seminars



-----Original Message-----
From: web400-admin@midrange.com [mailto:web400-admin@midrange.com] On
Behalf Of MWalter@hanoverwire.com
Sent: Monday, October 07, 2002 10:55 AM
To: web400@midrange.com
Subject: [WEB400] null terminated


At which point is the Environment variable Query_string null terminated.
I have to parse this string manually and the X'00' is giving me
headaches. The current hack is just to:

C     x'00':x'40'     Xlate      string         string.

Not very elegant and I'm afraid this will bite me sometime in the
future.


Thanks,

Mark


Mark Walter
Sr. Programmer/Analyst
Hanover Wire Cloth a div of CCX, Inc.
mwalter@hanoverwire.com
http://www.hanoverwire.com
717.637.3795 Ext.3040

_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To
post a message email: WEB400@midrange.com To subscribe, unsubscribe, or
change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/web400
or email: WEB400-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.