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
In reply to Re^4: Retain first 4 characters of a string
by perlnoobster
in thread Retain first 4 characters of a string
by perlnoobster
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |