[Top] [Prev] [Next] [Bottom]
[Contents]
SaJavaLenNe
Prints a Java Script statement to check if the length of an argument is not equal to a specified value and a newline character to standard out.
#include "sajavasc.h"
int SaJavaLenNe(char* msg, int val);
Argument
- msg
- A string specifying a character or variable whose length is checked against the specified value.
- int
- The value of length to check against.
Return Values
Returns an integer with a value of 0 if successful and a value of 1 if msg is either NULL or an empty string.
Prints a Java Script statement to check if the length of an argument is not equal to a specified value and a newline character to standard out.
The code fragment:
SaJavaLenNe("number, 19");
will write the following to the output stream:
if(number.length != 19) {\n.
See Also
SaJavaB, SaJavaCommE, SaJavaE, SaJavaCommB, SaJavaRetTrue, SaJavaRetFals, SaJavaPrint, SaJavaMsgBox, SaJavaIsLower, SaJavaIsUpper, SaJavaNotDigit, SaJavaLenZero, SaJavaStdFor
[Top] [Prev] [Next] [Bottom]
[Contents]
info@bluestone.com
Copyright © 1997, Bluestone. All rights
reserved.