toArray – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
I maybe am too tired, but atm I don't really see where it will help ? - [[User:Lou Montana|Lou Montana]] 01:07, 23 December 2007 (CET)
I maybe am too tired, but atm I don't really see where it will help ? - [[User:Lou Montana|Lou Montana]] 01:07, 23 December 2007 (CET)
:You are too tired. Endless posibilities... --[[User:Raedor|raedor]] 01:27, 23 December 2007 (CET)
:You are too tired. Endless posibilities... --[[User:Raedor|raedor]] 01:27, 23 December 2007 (CET)
The world of string handling functions has been opened with the possibility to convert from string to array (and back). You can get a substring from a string with toArray, selecting the characters you want, and back to string. You can search for a string within a string, by converting to array and comparing elements. You can trim off leading/trailing spaces, find repeating charachters, count the number of specific characters in a string, etc. etc.

Revision as of 01:41, 23 December 2007

I maybe am too tired, but atm I don't really see where it will help ? - Lou Montana 01:07, 23 December 2007 (CET)

You are too tired. Endless posibilities... --raedor 01:27, 23 December 2007 (CET)

The world of string handling functions has been opened with the possibility to convert from string to array (and back). You can get a substring from a string with toArray, selecting the characters you want, and back to string. You can search for a string within a string, by converting to array and comparing elements. You can trim off leading/trailing spaces, find repeating charachters, count the number of specific characters in a string, etc. etc.