Timeline for Convert String to Integer from a huge string database in a very fast way?
Current License: CC BY-SA 4.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 7, 2021 at 15:52 | vote | accept | Xuemei | ||
| Aug 31, 2019 at 18:31 | comment | added | Xuemei | Thank you very much. Using istd[x_] := InternalStringToDouble[x];` SetAttributes[istd, Listable];strtolist6 = IntegerPart@istd@StringSplit[StringData[[All, 2]], ","]; cannot solve large number strings such as str={{"Position1", "0,1,201111111111111111,1,-1"}, {"Position2", "0,1,201111111111111111,1,-1"}}. | |
| Aug 31, 2019 at 5:16 | history | edited | kglr | CC BY-SA 4.0 | deleted 16 characters in body |
| Aug 31, 2019 at 0:55 | history | edited | kglr | CC BY-SA 4.0 | deleted 100 characters in body |
| Aug 31, 2019 at 0:43 | comment | added | kglr | @XuemeiGu, please see the update. The second alternative can handle signed numbers. | |
| Aug 31, 2019 at 0:41 | history | edited | kglr | CC BY-SA 4.0 | added 240 characters in body |
| Aug 31, 2019 at 0:27 | comment | added | Xuemei | Yes, it is fast but one problem is it cannot work with negative number such as “-1” because of FromDigits. Is there any chance also working with negative number string?@kglr | |
| Aug 30, 2019 at 22:56 | history | answered | kglr | CC BY-SA 4.0 |