HPlogo System Debug Reference Manual > Chapter 10 System Debug Standard Functions

func strapp

MPE documents

Complete PDF
Table of Contents
Index

E0201 Edition 4 ♥
E0300 Edition 3
E0692 Edition 3

String append. Returns the result of concatenating two strings.

Syntax



   strapp (source tail)

Formal Declaration



   strapp:str (source:str tail:str)

Parameters


source

The string to which tail is appended.

tail

The string to append to the tail of source.

Examples



   $nmdebug > var stuff "Cream"
   $nmdebug > wl strapp("Ice ", stuff)
   Ice Cream

Append the string contained in the variable stuff to the string "Ice".

   $nmdebug > = strapp("Hello, ", strapp("How", " Are You?") )
   "Hello, How Are You?"

Print the result of concatenating the string literals.

Limitations, Restrictions


If the resultant string is larger than the maximum supported string length (see the STRMAX function), it is truncated.




func str


func strdel