Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #3378
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!talisker.lacave.net!lacave.net!not-for-mail |
|---|---|
| From | Siratinee Sukachai <ploy.sukachai@gmail.com> |
| Newsgroups | comp.lang.ruby |
| Subject | Split dot and equa sign by recursive |
| Date | Fri, 22 Apr 2011 05:52:09 -0500 |
| Organization | Service de news de lacave.net |
| Lines | 20 |
| Message-ID | <834998812ddf8cd759b85d568ed321db@ruby-forum.com> (permalink) |
| NNTP-Posting-Host | bristol.highgroove.com |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 7bit |
| X-Trace | talisker.lacave.net 1303469620 79686 65.111.164.187 (22 Apr 2011 10:53:40 GMT) |
| X-Complaints-To | abuse@lacave.net |
| NNTP-Posting-Date | Fri, 22 Apr 2011 10:53:40 +0000 (UTC) |
| X-Received-From | This message has been automatically forwarded from the ruby-talk mailing list by a gateway at comp.lang.ruby. If it is SPAM, it did not originate at comp.lang.ruby. Please report the original sender, and not us. Thanks! For more details about this gateway, please visit: http://blog.grayproductions.net/categories/the_gateway |
| X-Mail-Count | 382065 |
| X-Ml-Name | ruby-talk |
| X-Rubymirror | Yes |
| X-Ruby-Talk | <834998812ddf8cd759b85d568ed321db@ruby-forum.com> |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.ruby:3378 |
Show key headers only | View raw
I need to do a function which can split dot and equa by recursive.
But I don't have any ideas to do on recursive.
This is the example of my strings
Member.certPm=PM Certification
projects.risks.Index.flash_downloading=Downloading report, please wait..
The numbers of dot it is different. I need to split these strings and
set on hashes
Member => {certPm => PM Certification}
projects => {risks => {Index => {flash_downloading => Downloading
report, please wait..}}}
Do you have any guide for me to do this?
--
Posted via http://www.ruby-forum.com/.
Back to comp.lang.ruby | Previous | Next — Next in thread | Find similar | Unroll thread
Split dot and equa sign by recursive Siratinee Sukachai <ploy.sukachai@gmail.com> - 2011-04-22 05:52 -0500
Re: Split dot and equa sign by recursive Harry Kakueki <list.push@gmail.com> - 2011-04-23 07:04 -0500
Re: Split dot and equa sign by recursive Sira PS <ploy.sukachai@gmail.com> - 2011-04-23 12:36 -0500
Re: Split dot and equa sign by recursive Harry Kakueki <list.push@gmail.com> - 2011-04-23 22:19 -0500
Re: Split dot and equa sign by recursive Brian Candler <b.candler@pobox.com> - 2011-04-23 07:14 -0500
Re: Split dot and equa sign by recursive Ryan Davis <ryand-ruby@zenspider.com> - 2011-04-23 10:37 -0500
Re: Split dot and equa sign by recursive Sira PS <ploy.sukachai@gmail.com> - 2011-04-23 23:28 -0500
csiph-web