Report post

Are you sure you want to report the post shown below? This will send an email to the ATVO administrators. Please include a short reason for reporting.

Users reporting for no reason may be locked out.


Post

Posted by Nick Thissen
on
iRacing doesn't give us the first name. Determining what is someones first name is a surprisingly difficult problem and will not be correct all the time. For the "firstname" binding, we simply look for the first space in the name and return everything before that.
result.Entity.CurrentDriver.Name.Split(' ').FirstOrDefault()