add bash script string operation function.