The [b:d8af403d83]Truncate[/b:d8af403d83] macro can be used with other ERM macros to truncate the text string from that point forward [u:d8af403d83]if the argument is null[/u:d8af403d83]. For instance, there is no point continuing a resource's response text if a macro value is empty. See the following example:
[color=blue:d8af403d83]SAMPLE MACRO VARIABLES USING TRUNCATE MACRO FUNCTION[/color:d8af403d83]
To schedule meetings with <%ResourceDisplay%> you must be in one of the following Distribution Lists: <%DLRestrictionList%>.
Meeting Request Declined. [b:d8af403d83]<%Truncate[/b:d8af403d83](ResourceContactEmail[b:d8af403d83])%>[/b:d8af403d83]
To request permission, please contact <mailto:<%ResourceContactEmail%>
[color=blue:d8af403d83]RESULT IF MACRO VALUE IS NOT NULL[/color:d8af403d83]
To schedule meetings with Conference Room 1 you must be in one of the following Distribution Lists: Res1; Res2; Res3.
Meeting Request Declined.
To request permission, please contact <mailto:ResourceContact@domain.com>
[color=blue:d8af403d83]RESULT IF RESOURCECONTACTEMAIL MACRO VALUE IS NULL[/color:d8af403d83]
To schedule meetings with Conference Room 1 you must be in one of the following Distribution Lists: Res1; Res2; Res3.
Meeting Request Declined.