Electronics Programming
Linux Posts, Programming Posts, Atmega Posts and others.
Search This Blog
Friday, February 13, 2009
substring in linux script
str="this is a vikas test"
substr=${str:10:5} #from 10th to next 5
echo $substr
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment