@right error
Posted: Thu Feb 09, 2023 8:41 am
Good morning!
I'm trying to determine capture the right most character from a temporary string, that is a list of the members of a group. However, the code either crashes with a syntax error if I put brackets around the code name as below
or returns nothing, if I do not use brackets, as below
Any thoughts on what I'm doing wrong?
As always thank you very much! The fantastic help and customer support is greatly appreciated!
Bob
I'm trying to determine capture the right most character from a temporary string, that is a list of the members of a group. However, the code either crashes with a syntax error if I put brackets around the code name as below
Code: Select all
group g_max hsddcus_*
%max = g_max.@members
%max = @replace(%max,"_"," ")
%test = @right({%max},1)
Code: Select all
group g_max hsddcus_*
%max = g_max.@members
%max = @replace(%max,"_"," ")
%test = @right(%max,1)
As always thank you very much! The fantastic help and customer support is greatly appreciated!
Bob