Need to remove leading zeros in a join expression
DF1(TradeID) has values like "0000012345"
and DF2(TradeRefNo) has no leading zeros i.e. "12345"
val resultDf = Df1.join(Df2, Df1("TradeID") === Df2(TradeRefNo"))
What's the best way to remove the leading from the first dataframe's DF1("TradeID") column values so the compare works correctly