12.07.2015 Views

ILOG OPL Development Studio Language Reference Manual

ILOG OPL Development Studio Language Reference Manual

ILOG OPL Development Studio Language Reference Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Syntaxstring.toUpperCase()EffectExamples:"Hello, World".toLowerCase() "hello, world"string.toUpperCase() Returns string converted to uppercase.Examples:"Hello, World".toUpperCase() "HELLO, WORLD"string.split(separator)Returns an array of strings containing the substrings of string which areseparated by separator. See also the array method join.Examples:"first name,last name,age".split(",") -> an array a such that.length is 3, a[0] is "first name", a[1] is "last name", and a[2] is "age".If string does not contain separator, an array with one elementcontaining the whole string is returned.Examples:"hello".split(",") -> an array a such that a.length is 1 and a[0] is"hello",string.toString()Returns the string itself.I L O G O P L D E V E L O P M E N T S T U D I O L A N G U A G ER E F E R E N C E M A N U A L227

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!