Menu

Data parser for string data

Anonymous
2019-05-22
2019-05-23
  • Anonymous

    Anonymous - 2019-05-22

    Hi folks,

    would like to tell u how much i do appr. your works.

    Actually tried to deploy your tool but actually it seems, that one feature is missing.

    String converted number method(smth. like this 123456\n) missing . Would like to convert it to real uint32 e.g. with appropriate method there was one app.
    Put leading zeros and had focus on alignment but using plotting function seems to me very complicated if not able to use such strings terminated with CR.

    Any suggestions?
    Thx in advacne
    Jovan

     
  • Anonymous

    Anonymous - 2019-05-22

    string= 123456\n
    var uint32=convertStringToUint32(string) //123456

     
  • Stefan Zieker

    Stefan Zieker - 2019-05-22

    Hi,

    you can use the standard EMCA script (QtScript and JavaScript are based on EMCA script) parseInt function for converting a string into an integer.

    Regards
    Stefan

     
  • Anonymous

    Anonymous - 2019-05-23

    Ok, got it thanks for that hint.

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.