# UOX3 Script Engine

### API and Event handling

### String Related Functions

SubStringSearch
Prototype |
    bool SubStringSearch( strToSearch, searchString );
Purpose | Returns true if the string searchString is to be found inside strToSearch. Case insensitive search.
Example of Usage |
    var bFound = SubStringSearch( strSaid, "HELP" );

StringToNum
Prototype |
    int StringToNum( string toConvert );
Purpose | Converts the string into a number (IE "1234" into 1234).
Example of Usage |
    var tempValue = StringToNum( textString );

NumToString
Prototype |
    string NumToString( int myVal );
Purpose | Converts the number into a string (IE 1234 into "1234").
Example of Usage |
    var textString = NumToString( 5 );

NumToHexString
Prototype |
    string NumToHexString( int myVal );
Purpose | Converts the string into a hexadecimal number (IE 400 into "0x190").
Example of Usage |
    var textString = NumToHexString( 5 );

©Copyright 2000-2001 WWW.UOX3.NET (Daniel Stratton/Matthew Randall)