Sep 6, 2001 #1 Johnathon Programmer Jul 29, 2006 23 US Hi, Anyone know how how to perform left trim and right trim on the string variable in unix script? Thank you, Johnathon
Hi, Anyone know how how to perform left trim and right trim on the string variable in unix script? Thank you, Johnathon
Sep 10, 2001 #2 gregor weertman Programmer Sep 29, 2000 195 NL a=" zzz " a=`echo $a |sed s/" "//g` When the var has no space in it. Gregor.Weertman@mailcity.com Upvote 0 Downvote
a=" zzz " a=`echo $a |sed s/" "//g` When the var has no space in it. Gregor.Weertman@mailcity.com