﻿namespace RacePredictor.Scraping.Parsing.Column
{
    public class HeatParser : IHeatParser
    {
        public string Parse(string s)
        {
            if (string.IsNullOrWhiteSpace(s))
                return string.Empty;

            var heat = s.Replace("\"", "")
                .Replace("&quot;", "");

            heat = heat.Replace("קילומטר", "km")
                .Replace("ק\"מ", "km")
                .Replace("קמ", "km");

            return heat;
        }
    }
}
