Hello.
I tried this:
var s = $(new String("1234,5678"));
s = s.sub("." , ","); // gives ".234,5678" this is ok, becaus . is a
regex char
s = s.sub("\.", ","); // gives the same output as input, i think this
isnt correct, the point should be comma
Does i oversee anything?
Bye!
Dan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---