May 31
Marc Vos Lasso 9 take ..ty
May 31, 2013; 22:56
Marc Vos
Lasso 9 take ..ty
Hi everyone,
This:
if(string(field('field_via_left_join'))->split(',')->last !>> 'partofastring');
gives:
Definition Not Found: null->contains(string)
Casting a field with contents NULL to string() returns an empty string.
Then ->split() returns an array of zero elements. So what?
The ->last should just return an empty string instead of NULL. Why not?
I found a workaround, but I don't think this is the way it is supposed to be:
if(("," + string(field('field_via_left_join')))->split(',')->last !>> 'partofastring');
Does someone among you have another idea?
Mac OS 10.8
L9.2.5
- -
Regards,
Marc
#############################################################
Attend the Lasso Developer Conference 2013!
Sept 12-14, 2013 in Niagara Falls, Canada
http://www.lassosoft.com/LDC-niagara-falls-2013
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
May 31
Brad Lindsay Re: Lasso 9 take ..ty
May 31, 2013; 17:04
Brad Lindsay
Re: Lasso 9 take ..ty
May 31
Marc Vos Re: Lasso 9 take ..ty
May 31, 2013; 23:12
Marc Vos
Re: Lasso 9 take ..ty
May 31
Brad Lindsay Re: Lasso 9 take ..ty
May 31, 2013; 18:06
Brad Lindsay
Re: Lasso 9 take ..ty
Jun 01
Marc Vos Re: Lasso 9 take ..ty
Jun 01, 2013; 17:02
Marc Vos
Re: Lasso 9 take ..ty
Jun 01
Brad Lindsay Re: Lasso 9 take ..ty
Jun 01, 2013; 13:25
Brad Lindsay
Re: Lasso 9 take ..ty
Jun 01
Marc Vos Re: Lasso 9 take ..ty
Jun 01, 2013; 20:48
Marc Vos
Re: Lasso 9 take ..ty
Jun 02
Ke Carlton Re: Lasso 9 take ..ty
Jun 02, 2013; 09:24
Ke Carlton
Re: Lasso 9 take ..ty