View Single Post
  #3   (View Single Post)  
Old 4th September 2008
vermaden's Avatar
vermaden vermaden is offline
Join Date: Apr 2008
Location: pl_PL.lodz
Posts: 1,053

1) Lets say i want to get last/first 5 characters of text...
2) 3 characters starting from 4th character.....
echo text | cut -c4-7

In basic language there is function mid$(string$, offest%, lenght%)
religions, worst damnation of mankind
"If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds

Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”.
vermaden's: links resources deviantart spreadbsd
Reply With Quote