Notifications
Clear all
Topic starter
26/07/2021 9:02 pm
Hi,
I'd like to make a warning symbol visible that flashes on my dash if I am using a qualify setup in a race. I always name my sto files with _qual on the end so i would like to look at the last 8 characters of the DataCorePlugin.GameRawData.SessionData.DriverInfo.DriverSetupName value.
For example, the file is called VRS_baseline_WatkinsGlen_MX5_Qual.sto and i want to return just the "Qual.sto" value which is the last 8 characters.
26/07/2021 9:44 pm
Hi,
The NCalc "right" function can help you there.
Try:
right([DataCorePlugin.GameRawData.SessionData.DriverInfo.DriverSetupName] , 0, 8)
Topic starter
27/07/2021 9:31 pm
Hi,
The NCalc "right" function can help you there.
Try:
right([DataCorePlugin.GameRawData.SessionData.DriverInfo.DriverSetupName] , 0, 8)
thanks man!! That works great!