added L/R/TRIM() functions