Open GoogleCodeExporter opened 9 years ago
definitely agree with the JD Drew comment...huge problem if you got him or Mark
Prior
on your fantasy team. my buddy Simon went into an autodraft and got both him
and
Kerry Wood last year.
this regular expression should do it: text.replace(/(.).+ (.+)/,"$1 $2");
saves the first letter then removes everything until it sees a space, and then
saves
the last name.
the problem with /.\../ is that it will remove J and then the . and then D,
leaving
you with ". Drew"
Original comment by robobr...@gmail.com
on 15 Apr 2007 at 5:04
Original comment by robobr...@gmail.com
on 15 Apr 2007 at 5:04
Original comment by robobr...@gmail.com
on 19 Apr 2007 at 6:01
Original comment by robobr...@gmail.com
on 4 May 2007 at 6:13
this issue and issue #22
(http://code.google.com/p/freebiestats/issues/detail?id=22&can=1&q=) are
related.
Original comment by rod...@gmail.com
on 28 Jun 2007 at 1:50
Original issue reported on code.google.com by
ethanher...@gmail.com
on 14 Apr 2007 at 10:45