The only problem would be if what adrive wanted was to print out the original string (e.g., FCLA, FCLXXX, etc.) if it contains the user-specified substring (e.g., FCL).
The solution with substitution would destroy the original string so that what would be printed would just be the sought-after substring.
Of course maybe that what was wanted...I couldn't tell from the original qustion.
In reply to Re^2: get a text out from a string
by ack
in thread get a text out from a string
by adrive
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |