Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Re: Regular Expression question
seebs
6/30/2007 2:56:00 AM
In message <a0d519101f6199ed9f37558d7cec5351@ruby-forum.com>, Al Cholic writes:
>Thanks. An the .. in [1..-2] means "keep everything in between" ?
Right.
So, "hello, world!"[1..-2] => "ello, world"
-s
1 Answer
Kristen
6/30/2007 3:02:00 AM
0
unknown wrote:
> In message <a0d519101f6199ed9f37558d7cec5351@ruby-forum.com>, Al Cholic
> writes:
>>Thanks. An the .. in [1..-2] means "keep everything in between" ?
>
> Right.
>
> So, "hello, world!"[1..-2] => "ello, world"
>
> -s
Thank you very much.
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: Regular Expression question
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password