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
JavaScript String.charAt(i) won't return a character
Migrateduser
Hello.
As I wrote JavaScript logic I ran into a bug that having a string str="W01", str.charAt(0) returns 87 (ASCII code of the character 'W' and hence str.charAt(0) == 'W' is false. I tried the same in Chrome javascript console and had the expected result str.charAt(0) == 'W' is true. As far as I'm concerned BIRT uses Rhino and that's might have something to do with the problem. Do you have any clues?
Thank you in advance.
Find more posts tagged with
Comments
There are no comments yet