> Don't ask me why, but you've got to pass your regular _expression_ between
> slashes, not quotes: try
> UpdprojStart = UpdprojStart.replace(/[\s]*/, "-");
>
> One more stupidities of the pedantic "object orientation" of _javascript_
;-))

I hate to be pedantic myself, but _javascript_ actually offer alternatives :-)
Actually, whenever the RegExp isn't created dynamically, they are better:

http://devedge.netscape.com/library/manuals/2000/_javascript_/1.5/guide/regexp
.html#1008311

----------------------------
Massimo Foti
Certified Dreamweaver MX Developer
Certified Advanced ColdFusion MX Developer
http://www.massimocorner.com/
----------------------------


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to