- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Thanks for the reply!
Unfortunately that did not work. I found a work around, doing (ContractInfo.AgreementDetails.Org.rawValue >= 6000 && ContractInfo.AgreementDetails.Org.rawValue <=6999).
I would still like to know why the substring command wasnt working correctly. I have tried many different variations and none of them work.
A crazy work-around I did was this:
var str = ContractInfo.AgreementDetails.Org.rawValue;
TextField1.rawValue = str;
TextField2.rawValue = TextField1.substr(0,1);
TextField2 was indeed correctly populated, but I do not know why i have to go through this crazy work around. Does anyone know why the following doesnt work?
var str = ContractInfo.AgreementDetails.Org.rawValue.substr(0,1)
Views
Replies
Total Likes