2012年10月26日 星期五

Bash shell string Manual and simple usage

Introduction:
It is often use the shell variable to do something.


1. Count the length
stringZ=abcABC
${#stringZ}


2. Substring
${stringZ:0}





Reference:
linux_String_Manual





沒有留言:

張貼留言