1. ronald@aava.nl
  2. RO CSVI
  3. Saturday, 27 August 2016
  4.  Subscribe via email
How to create a rule that export maximum of 5 first characters of any kind in a field.
I did my best but can not get out.

php 5.5.30

Ronald
Accepted Answer Pending Moderation
Hello Ronald,

I am no expert in regular expressions either, a site like regexr.com can be useful. If you want to only export the first 5 characters of any value perhaps I can ask you if you are interested in testing the new multi-replacement plugin I am building for the next minor release of CSVI.

In PHP 7 it is no longer possible to use the /e modifier with regular expressions, so I have come up with a new plugin that allows for doing some basic replacements. One of them is to get a substring from a string. You can specify the start and end values. In your case that would be 0 - 4 to get the first 5 characters. Let me know if you are interested and I can send it to you on Monday as it needs some more work to be able to install it.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Roland,

Thanks, i wait for the stable release.

Regards,

Ronald
  1. more than a month ago
  2. RO CSVI
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!