in reply to Re^3: Retain first 4 characters of a string
in thread Retain first 4 characters of a string
If the space between them exists then how do i retain just the first letter of the words e.g hot pink would be hp and light purple would be lp? I can't figure out how to do it with the split and join if there is no space between two words then simply retain the colour i.e. red would be red Thank you :)baby blue baby pink black dark blue brown dark purple green orange hot pink light purple red white yellow
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Retain first 4 characters of a string
by johngg (Canon) on Aug 24, 2012 at 19:00 UTC | |
|
Re^5: Retain first 4 characters of a string
by Anonymous Monk on Aug 24, 2012 at 14:04 UTC |