Is it possible you're not passing a string in those cases, but some
other object?
Is it reproducible? Maybe put a Debug.write(typeof(yourstringvar)) to
make sure.
On Wed, Jul 23, 2008 at 7:06 PM, lcondellone
<[EMAIL PROTECTED]> wrote:
> Hi all,
>
> When calling <some string>.replace("x", "y"), its sometimes works, and
> sometimes I get "call to undefined method 'replace'".
>
> There are also indicators that others have run into this problem: checks if
> replace exists, comments that "String.replace is needed!"
>
> Is this method disabled? Or how would one enable/disable it?
>
> -LC
>
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]