Re: string.replace not working - D'OH!

2008-02-17 Thread Patrick Wiseman
On Feb 17, 2008 3:48 PM, I wrote: [earlier missive deleted] > > I realized that the string.replace function doesn't actually do > anything to the string, so I have to assign b.replace to a variable > and write that back, something like 'var c = b.replace...', then > document.body.innerHTML = c. Th

Re: string.replace not working - D'OH!

2008-02-17 Thread Patrick Wiseman
On Feb 17, 2008 11:38 AM, I wrote: > At this URL (which happens to be Brown v. Bd. of Ed.), > http://bulk.resource.org/courts.gov/c/US/347/347.US.483.html, I'm > trying to convert data which looks so, " 123 U.S. 456", into a link, > so, " 123 U.S. 456". > > T

string.replace not working

2008-02-17 Thread Patrick Wiseman
Hello: A new repository of US caselaw[1] has recently been released, and I'm trying to make it a little more useful. At this URL (which happens to be Brown v. Bd. of Ed.), http://bulk.resource.org/courts.gov/c/US/347/347.US.483.html, I'm trying to convert data which looks so, " 123 U.S. 456", int