Deprecated: Optional parameter $entity_id_or_bundle declared before required parameter $client is implicitly treated as a required parameter in /var/www/html/sites/all/modules/contrib/brightcove/brightcove.module on line 1034

Deprecated: Optional parameter $title declared before required parameter $field_rel is implicitly treated as a required parameter in /var/www/html/sites/all/modules/contrib/brightcove/brightcove.module on line 1503

Deprecated: Optional parameter $id declared before required parameter $field_rel is implicitly treated as a required parameter in /var/www/html/sites/all/modules/contrib/brightcove/brightcove.module on line 1503

Deprecated: Optional parameter $selector declared before required parameter $field_rel is implicitly treated as a required parameter in /var/www/html/sites/all/modules/contrib/brightcove/brightcove.module on line 1503

Deprecated: Optional parameter $selector declared before required parameter $dialog_type is implicitly treated as a required parameter in /var/www/html/sites/all/modules/contrib/brightcove/brightcove.module on line 1536

Deprecated: Optional parameter $settings declared before required parameter $dialog_type is implicitly treated as a required parameter in /var/www/html/sites/all/modules/contrib/brightcove/brightcove.module on line 1536

Deprecated: Optional parameter $feed_nid declared before required parameter $context is implicitly treated as a required parameter in /var/www/html/sites/all/modules/contrib/feeds/feeds.module on line 226

Deprecated: Optional parameter $path declared before required parameter $arg is implicitly treated as a required parameter in /var/www/html/sites/all/modules/contrib/i18n/i18n.module on line 239

Deprecated: Optional parameter $dropbox declared before required parameter $save_lineage is implicitly treated as a required parameter in /var/www/html/sites/all/modules/contrib/hierarchical_select/hierarchical_select.module on line 1388

Deprecated: Optional parameter $delta declared before required parameter $element is implicitly treated as a required parameter in /var/www/html/sites/all/modules/contrib/radioactivity/radioactivity.field.inc on line 432

Deprecated: Optional parameter $path declared before required parameter $langcode is implicitly treated as a required parameter in /var/www/html/sites/all/modules/contrib/ckeditor_link/ckeditor_link.module on line 328
Alin Soare view profile on InterSystems Developer Community
User bio
404 bio not found
Member since Apr 23, 2024
Replies:

I have a large list of functions that returns strings.  I consider a string as true if it is non-empty.  Empty string means false for me.  I keep calling these functions until I get a true (non-empty string).  If none returns true, the result fails.  It is an implementation of a unification algorithm actually.

I did not know how to write the code more readable, this is why I was asking how to check for empty string in a nicer way.

Thank you very much.  Googling and browsing some pages I had arrived at the same idea but I could find no documentation and examples on the Intersystems site.  Searching "URL Rewrite Module" on community I found 11 pages of results but by opening the conversations I see none that provides examples.

Making some random tests I managed to redirect the url to my application entry points but I do not understand how it works in general, to be able to use all its capabilities.  I am not able to redirect as I expect to happen.  It does something, but unexpected for me.

Certifications & Credly badges:
Alin has no Certifications & Credly badges yet.
Global Masters badges:
Alin has no Global Masters badges yet.
Followers:
Alin has no followers yet.
Following:
Alin has not followed anybody yet.