Parse list from HTTP

FrankR

Member
Licensed User
Longtime User
I have to send a request via HTTP, get the response, and parse it.
The response will be a List of text, probably delimited with newlines.

What would be the recommended best way to do this? Do we have
methods to parse via a newline?
 

peacemaker

Expert
Licensed User
Longtime User
Use HTTP sample here, it's enough. After getting RESPONSE you have to search each token you need to recognize it like a info\command...
I'm doing the same task now.
Suggestion - think about the charset of the parsing text, if any encoding planned.
 
Upvote 0

FrankR

Member
Licensed User
Longtime User
I understand the sample completely.

What I'm really asking is: what parsing abilities exist in B4a? Especially parsing of lines into a list / array.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…