From: David Vallner Date: 2006-11-07T09:09:58+09:00 Subject: Re: [OT] Help ruby started acting strange --------------enigF3DBC97C9D7F3A50EC73FA80 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable CParticle wrote: > firstName =3D displayName.to_s.split(", ")[1] > lastName =3D displayName.to_s.split(", ")[0] >=20 I don't think I could bear looking at this for five seconds without rewriting it to avoid calling #strip twice... last_name, first_name =3D display_name.split ', ' There, it's out of my system now. David Vallner --------------enigF3DBC97C9D7F3A50EC73FA80 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) iD8DBQFFT87Qy6MhrS8astoRAm6cAJ4j3c+sZqNrVQOPvo9TW3qq/YSF2gCdH9vG lr/0K7uTmkLB9hydXxq7lxc= =J/nq -----END PGP SIGNATURE----- --------------enigF3DBC97C9D7F3A50EC73FA80--