Command: prepend

NEST HelpDesk Command Index NEST Quick Reference

Name:
 prepend - Attach an object to the front of an array or string.

Synopsis:
 (string) int prepend -> string
          [array] any  prepend -> array

Examples:
 (hello) 44 prepend -> (,hello) (44 is ASCII value for ,)
[1 2 3] (hello) prepend -> [(hello) 1 2 3]
[1 2 3] 44 prepend -> [44 1 2 3]

Author:
 docu edited by Sirko Straube

SeeAlso:append insertelement
Source:
 /home/abuild/rpmbuild/BUILD/nest-2.4.1/sli/slidata.cc

NEST HelpDesk Command Index NEST Quick Reference

© 2000-2010 The NEST Initiative