• Comparing Strings
  • Determining String Set Membership
  • Parsing Strings

    The Linden Scripting Language contains many useful functions. However, it is also possible for a script programmer to add functions of their own. This chapter presents several useful functions that can be used in conjunction with larger scripts.

    This chapter presents functions for string processing. These string functions deal with three areas. Firstly, string comparison functions will be demonstrated. These functions allow the script to compare strings in various ways. Secondly, string set functions will be demonstrated. These allow the script to determine whether a string is numeric, alphanumeric or any other combination of allowed characters. Finally, string parsing will be demonstrated.

    Other recipes in this book make use of the recipes presented in this chapter.


Copyright 2005 - 2010 by Heaton Research, Inc.. Heaton Research™ and Encog™ are trademarks of Heaton Research. Click here for copyright and trademark information.