#1
|
|||
|
|||
strip characters from the right
I need to strip (and not keep) characters from the right of a list of irregular strings. For example, in this string;
SCR SC207 MC3001 4W FIRE SUPP & EXT INSP STAT Rev 0'; I need to strip 'Rev 0' and retain the rest. Note that strings in the list may NOT be all the same length. I can strip from the left, but the right is proving to be tricky. Thanks Jon |
#2
|
|||
|
|||
It depends on what you have to strip!
a) certain number of characters; b) certain substring (like " Rev 0'"); c) all starting with certain substring (like all starting with " Rev"; d) something else. |
#3
|
|||
|
|||
Thanks for your query.
I have figured it out. Thanks |
#4
|
|||
|
|||
Would you be so kind and show your solution for other people who would have the same problem and are looking for a helping hand.
|
Tags |
string |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Format shelf strip graphic and data | ShaunO | Mail Merge | 1 | 08-19-2016 04:20 PM |
Strange Characters appear when selecting SHOW ALL NON PRINTING CHARACTERS | ann Amber | Word | 1 | 08-01-2015 08:06 PM |
strip extra information from email addresses | jbk1043 | Word | 1 | 03-03-2013 01:46 PM |
Junk characters (box-like characters) in Word file | Sashikala | Word | 1 | 04-20-2010 02:03 PM |
Strip lf/cr from text | p3aul | Word | 9 | 08-18-2009 12:42 AM |