Skip to main content



      Home
Home » Eclipse Projects » Advanced Scripting Environment (EASE) » Problem using endsWith in javascript rhino script shell
Problem using endsWith in javascript rhino script shell [message #1821833] Thu, 20 February 2020 15:21 Go to next message
Eclipse UserFriend
If I type the following in the Rhino Script Shell:

print("hello".endsWith("o"))


I get the following error:

TypeError: Cannot find function endsWith in object hello.


Using eclipse 2019-12 with EASE latest. Second attempt at writing a simple script and I am stuck at the very beginning.
Re: Problem using endsWith in javascript rhino script shell [message #1822095 is a reply to message #1821833] Thu, 27 February 2020 02:58 Go to previous message
Eclipse UserFriend
Strange, the example works as expected in the script shell. Are you sure that your installation is correct?
Previous Topic:Access classes from other eclipse plugins
Next Topic:Running SWTBot in EASE Script in Headless Mode
Goto Forum:
  


Current Time: Mon Jul 14 18:55:20 EDT 2025

Powered by FUDForum. Page generated in 1.03462 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top