Actually i was going to find a way to shove in separators for numbers
To put in 1000 and spit out 1,000
Not breaking string in separate variables and using one expressions inside singe text object
And i found other way to do it
And seems it work pretty well
But i gonna save your method since it seems useful
THX
ToString(Variable(Score))+"
"+StrAt(",",(StrLength(StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-19)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-20)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-21)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-22)))-4)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-21)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-20)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-19)+StrAt(",",(StrLength(StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-16)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-17)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-18)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-19)))-4)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-18)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-17)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-16)+StrAt(",",(StrLength(StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-13)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-14)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-15)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-16)))-4)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-15)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-14)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-13)+StrAt(",",(StrLength(StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-10)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-11)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-12)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-13)))-4)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-12)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-11)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-10)+StrAt(",",(StrLength(StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-7)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-8)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-9)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-10)))-4)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-9)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-8)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-7)+StrAt(",",(StrLength(StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-4)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-5)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-6)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-7)))-4)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-6)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-5)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-4)+StrAt(",",(StrLength(StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-1)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-2)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-3)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-4)))-4)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-3)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-2)+StrAt(ToString(Variable(Score)),(StrLength(ToString(Variable(Score))))-1)
It automatically adds comma IF string length is above increment of 3
So if string is 4 digits long or 7 or 10 and so go on
It automatically adds it and removes if it is less
And now we can go negative
Just by checking if var is under or equal/above 0
And storing original variable to text object then multiplying it by -1 which returns positive number
And so just adding in text - at the beginning