I would like to know how to do one thing, please.
I would like to know how to remove string elements which are less than 4 characters long from my string. (By characters, i mean letters, numbers, !/#/$//,/'/;/:/etc).
For example:
If my string is this:
Code: Select all
("a bb ccc dddd eeeee ffffff")
Code: Select all
("dddd eeeee ffffff")
I tried replace-ing
Code: Select all
(replace "[.]" title "" 0)
Code: Select all
(replace "[+]" title "" 0)
I tried various maneuvers w/ define and length but wound up lost and without solution.
Am I simply missing the "magic" regex that means "characters less than 4 characters long"?
And is replace the correct function to "remove" these things?
Thank you for any guidance!