Node: String Construction and Manipulation, Previous: String Comparison, Up: Strings

String Construction and Manipulation

makeString size Function

makeString size char Function

makeString returns a new string of given size which can be an int or Lpp Integer. The string characters are not initialized unless the optional argument char is given in which case the whole string is initialized to characters of char which must be an Lpp Character object.

stringConcat s1 s2 Function

stringConcat returns a new Lpp String which is a concatenation of Lpp Strings s1 and s2. For example:

     stringConcat(L("one "), L("two")) => "one two"