parseText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
[[Category:Scripting Commands ArmA|PARSETEXT]]
[[Category:Scripting Commands ArmA|PARSETEXT]]


<new command not populated>




<h2 style="color:#000066">''''' parseText '''''</h2>
 
<h2 style="color:#000066">''''' parseText ''''' ''text''</h2>




'''Operand types:'''
'''Operand types:'''
text: [[String]]


'''Type of returned value:'''
'''Type of returned value:'''
[[Structured text]]


'''Compatibility:'''
'''Compatibility:'''
Version 2.01 required.


'''Description:'''
'''Description:'''
Creates a structured text by parsing the given XML description.




'''Example:'''
'''Example:'''
txt = parseText "First line&lt;img image=data\isniper.paa/&gt;&ltbr/&gt;Second line"

Revision as of 22:15, 28 June 2006



parseText text


Operand types:

text: String

Type of returned value:

Structured text

Compatibility:

Version 2.01 required.

Description:

Creates a structured text by parsing the given XML description.


Example:

txt = parseText "First line<img image=data\isniper.paa/>&ltbr/>Second line"