2011/6/6 Caveat :
> For myself, apology accepted, but then I'm not the one that spent the
> last 12 years of his life dedicating hour after hour and day after day
> to developing such an amazing language as Gambas :-)
>
> Hearing your frustration, I'm wondering whether you're taking a
> corkscrew t
I appreciate all the suggestions and options everyone has posted, and
I'm taking them all into consideration as I move forward in this
project.
--
EditLive Enterprise is the world's most technically advanced content
author
El 06/06/11 09:25, Caveat escribió:
>
> I don't really know what it is you're ultimately trying to achieve but
> if you need to do extensive string manipulations perhaps even involving
> regular expressions, perl might be a better choice. If you're trying to
> parse web-pages, then python with
On 06/06/11 09:25, Caveat wrote:
> You're asking the wrong question. What you meant to ask was whether
> anyone thought it necessary to include that functionality in the
> language itself.
>
> Splitting your string on "AE" is easily done, for example:
>
>DIM aString AS String
>DIM strings
For myself, apology accepted, but then I'm not the one that spent the
last 12 years of his life dedicating hour after hour and day after day
to developing such an amazing language as Gambas :-)
Hearing your frustration, I'm wondering whether you're taking a
corkscrew to crack a nut (or a nut-crack
Hey Titan,
Using the Split function is not the only option if you want to parse data
from a string
There's also Mid$, Left$, Right$ InStr, RInStr and other functions that you
use to extract
specific data from a string. Scan is another function that you can use to
split strings into
pieces but it'
On Monday 06 June 2011 10:29:23 Titan Rain wrote:
> I'm sorry for the hostility, I am frustrated as you perceived. I've been
> trying to accomplish this for 3 days, in just this case, as well as the
> few days I spent hacking my way around it in an earlier case. I've never
> thought to replace t
I'm sorry for the hostility, I am frustrated as you perceived. I've been trying
to accomplish this for 3 days, in just this case, as well as the few days I
spent hacking my way around it in an earlier case. I've never thought to
replace the whole string by some single character then split by tha
You're asking the wrong question. What you meant to ask was whether
anyone thought it necessary to include that functionality in the
language itself.
Splitting your string on "AE" is easily done, for example:
DIM aString AS String
DIM strings AS String[]
aString =
"AE300AE318AE65AEBuddiesA
So in 12 years of development no one has ever thought it might be necessary to
split a string by more than one character?
--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a sn
> This is getting ridiculous.
>
> I have now written a function to strip out all the headers and replace
> all Chr(&C0) and all Chr(&80) (the ascii AE's) with a plain text AE.
> The string is now
> "AE300AE318AE65AEBuddiesAE302AE319AE300AE319AE7AEclassybabe27_742AE301AE319
> AE303AE319AE301AE318AE
This is getting ridiculous.
I have now written a function to strip out all the headers and replace
all Chr(&C0) and all Chr(&80) (the ascii AE's) with a plain text AE.
The string is now
"AE300AE318AE65AEBuddiesAE302AE319AE300AE319AE7AEclassybabe27_742AE301AE319AE303AE319AE301AE318AE300AE318AE65AEF
On 06/05/2011 01:52 AM, Titan Rain wrote:
> I'm trying to split a response from a server that has been stored as a
> string. This response contains the ascii characters  as data field padding.
> I should mention the response can get quite long too. Over 500 characters
> easily. For example a r
I'm trying to split a response from a server that has been stored as a string.
This response contains the ascii characters  as data field padding. I should
mention the response can get quite long too. Over 500 characters easily. For
example a response may look something like
3somestring
14 matches
Mail list logo