An alternate consideration is to create a dynamic object array
and .add the myString[] elements you want.
You'll end up with an array of pointers to the original string text.
No copying of data, just pointers.
I've done this in the past. Works very nice.


---------- Original Message -----------
From: RICHARD WALKER <richard.j.wal...@ntlworld.com>
To: mailing list for gambas users <gambas-user@lists.sourceforge.net>
Sent: Thu, 11 Oct 2012 17:14:31 +0100
Subject: Re: [Gambas-user] Array slicing - how is it done in Gambas?

> Fabien,
> In the end I got the job done with String.Remove rather than
> String.Extract(). In this particular case it was easier to remove the
> elements already processed and then pass the remainder in a recursive
> call to the same procedure for further processing.
> 
> In the short time I had to experiment I could not get String.Delete()
> to delete anything. It seems to be that the documentation is correct -
> it is the same as String.Extract(), though why it is called Delete is
> not clear.
> 
> Richard
> 
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
------- End of Original Message -------


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to