|
|
|
|
google site
|
|||||||
| Forums | Register | Blog | Man Pages | Forum Rules | Links | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|||
|
Deletion of starting commas
There is one question. I have a string(suppose $str). If it starts with a comma(there can be more than one comma at the start),I have to remove all the commas from the beginning.So i have to check if the string starts with a comma.If it does,I have to delete all the commas which are at the start of the string.Please help.
|
| Sponsored Links |
|
|
|
||||
|
Double post - you have your answer in your original thread.
Please do no double posts, ty. If conditional |
| 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 |
| substitute commas with pipe | selamba_warrior | Shell Programming and Scripting | 2 | 10-28-2008 05:37 AM |
| How do i remove commas(,) & spaces | anushree.a | Linux | 5 | 05-26-2008 03:39 AM |
| formatted output with commas | joeyg | Shell Programming and Scripting | 4 | 03-04-2008 03:54 PM |
| csv files (with quoted commas) and awk | Cranie | UNIX for Dummies Questions & Answers | 3 | 08-08-2007 07:09 AM |
| count commas in a script | obedkhan | HP-UX | 2 | 02-25-2006 10:35 PM |