at the end of each line is a <cr><lf>. right now i am just creating
a
test program using a serial send to simulate the command return i then am using a substring to get the individual parameters i need. When i try to grab a substring at a position after the end of the first line i get an empty string.
--- In Crestron@..., Heath Volmer <hvolmer@> wrote:
You shouldn't be getting hung up on the CRLFs, depending on what you're using to extract the strings. Can you provide more
details
about how your pulling out the strings?
Heath
On Jan 24, 2009, at 8:07 AM, lcochbdr wrote:
I have a string comming from a polycom hdx that is 4 lines of
text
seperated by <cr><lf>'s i am trying to pull sub strings from
it
however i cannot get any from past the first <cr>. is there a way to
remove
the <cr><lf>'s, or to read get to the parts of the strings past
them?
Thanks Laurence
------------------------------------
Check out the Files area for useful modules, documents, and
drivers.
A contact list of Crestron dealers and programmers can be found
in
the Database area.
Yahoo
! Groups Links
------------------------------------
Check out the Files area for useful modules, documents, and drivers.
A contact list of Crestron dealers and programmers can be found in the Database area. Yahoo ! Groups Links