toArray – Talk

From Bohemia Interactive Community
Revision as of 02:41, 23 December 2007 by HitmanFF (talk | contribs)
Jump to navigation Jump to search

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.