Modifying strings with Lingo
As time passes or other conditions change, you might want to update and change text. For
example, you might want to frequently update a text sprite that displays the user's name or a
description of a musical selection that the user is currently streaming from a website. See
individual entries in the Lingo Dictionary.
•
To set the entire content of a text or field cast member, set the
new chunk of text. The chunk can be a string or another text cast member.
•
To combine character strings, use the
string to the end of the first string. The
they are combined.
•
To insert a string of characters into another string, use the
put...before
another string. The
chunk expression. The
•
To delete a chunk expression from a string of text, use the
&
command. The
put...before
command replaces a specified chunk expression with another
put...into
command places the string at the end of another string.
put...after
and
operators. The
&&
operator includes a space between two strings when
&&
put...after
command places the string at the beginning of
delete
cast member property to a
text
operator attaches the second
&
,
put...into
command.
, or
Text 291
Need help?
Do you have a question about the DIRECTOR MX-USING DIRECTOR MX and is the answer not in the manual?
Questions and answers