[Laszlo-user] Replace method missing for String

Henry Minsky hminsky at laszlosystems.com
Wed Jul 23 16:14:58 PDT 2008


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
<lcondellone at laszlosystems.com> 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
hminsky at laszlosystems.com


More information about the Laszlo-user mailing list