- 286
- Australia
Could be a way. I'd have to teach myself again though hahaPerhaps something like length("until next space") is possible? instr, substr...?
I've tried this method below to no avail (just using whatever constructor is randomly around):
var p = '01'
var a = $prop('GarySwallowDataPlugin.Leaderboard.Position' + p + '.CarName')
if(a.substring == ("forceindia")) {
return 'Force India'}
However, what that does is, even when I add an else if, return below for other constructors, it will always return Force India.
Makes me think I'm onto something, but struggling to fix it..