Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
Bit Data Type Conversion
Migrateduser
Hi,<br />
<br />
I have a record which is in <strong class='bbc'>bit data</strong> type(example: F2F0F0F9F0F8F0F4, F1F3F6F5F1F7) How to display the record omitting letter "F"?, end result should be 20090804, 136517.<br />
<br />
I had tried this method in initialize script...<br />
function mySplit(str){<br />
var myString = str;<br />
var mySplitResult = myString.split("F");<br />
return mySplitResult;<br />
} <br />
<br />
and i got this error<br />
<br />
The following items have errors: <br />
<br />
<br />
Data (id = 198): <br />
+ A BIRT exception occurred. See next exception for more information.<br />
Error evaluating Javascript expression. Script engine error: Java class "[B" has no public instance field or method named "split".<br />
Script source: null, line: 0, text:<br />
<compiled script> (Element ID:198) <br />
<br />
..... any idea? Thanks
Find more posts tagged with
Comments
There are no comments yet