Added function to return a platform string