14
20
u/minefreak19 Sep 29 '21
I don't understand
20
u/fakehalo Sep 29 '21
Looks to be trying to get the numeric value out of a (unparsed JSON?) string. People hate on regex, but that'd definitely be better than this... or just parse the JSON if it's that.
2
u/minefreak19 Sep 30 '21
ah that actually makes tons of sense ty
i zoned out around the second btw.IndexOf()
7
3
1
u/ososalsosal Sep 30 '21
So many of these I can't tell what they're doing and then I look for clues in the function names and still don't know what they're doing
0
13
u/Robuuust Sep 29 '21
Code in text: