|
|
|
|
google site
|
|||||||
| Forums | Register | Blog | Man Pages | Forum Rules | Links | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|||
|
Extract digits at end of string
I have a string like xxxxxx44. What's the best way to extract the digits (one or more) in a ksh script?
Thanks |
| Sponsored Links | ||
|
|
|
|||
|
Quote:
Thanks - that's just what I was trying to do. Thanks all for your replies |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Ksh Checking if string has 2 characters and does not contain digits? | developncode | UNIX for Dummies Questions & Answers | 1 | 04-08-2008 04:19 PM |
| Extract string between <> | rakeshou | Shell Programming and Scripting | 14 | 11-21-2007 01:10 PM |
| to check if a string has only digits | lakshmikanth | UNIX for Dummies Questions & Answers | 3 | 11-20-2006 09:45 AM |
| Extract String | sehgalniraj | UNIX for Dummies Questions & Answers | 1 | 09-25-2006 01:35 PM |
| How to extract a portion of a string from the whole string | ds_sastry | UNIX for Dummies Questions & Answers | 2 | 09-29-2001 11:40 AM |