Home | History | Annotate | Download | only in gmsl

Lines Matching full:substr

398 # Function:  substr
406 substr = $(__gmsl_tr3)$(call assert_no_dollar,$0,$1$2$3)$(strip $(eval __temp := $$(subst $$(__gmsl_space),? ,$$1))$(foreach a,$(__gmsl_characters),$(eval __temp := $$(subst $$a,$$a$$(__gmsl_space),$(__temp))))$(eval __temp := $(wordlist $2,$3,$(__temp))))$(subst ?,$(__gmsl_space),$(subst $(__gmsl_space),,$(__temp)))