Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » str.startsWith (function str.startsWith not working )
str.startsWith [message #1815083] Wed, 25 September 2019 10:23
hatra atrin is currently offline hatra atrinFriend
Messages: 20
Registered: February 2014
Junior Member
Hi,
I am creating a computed column in OpenText Analytic Designer V 24.4.0
i have a code that I want to exclude start and end of a column as below:
var str = row["mycolumn"]

if (str.StartsWith("xcvbnm")) {
var start = str.indexOf("qwert");
var end = str.lastIndexOf("xcvbnm");
str = str.slice(start, end);
}
str

but it fails with below error
"TypeError: Cannot find function StartsWith in object"
any help appreciated
Previous Topic:BIRT Report DataSet Parameter issue
Next Topic:BIRT Installation Error
Goto Forum:
  


Current Time: Fri Apr 26 05:30:50 GMT 2024

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

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

Back to the top