toArray – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
: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. [[User:HitmanFF|HitmanFF]] 01:42, 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. [[User:HitmanFF|HitmanFF]] 01:42, 23 December 2007 (CET)
:::Ooooh yes, I was too tired :) Didn't see you could get each letter separately, it's like "string2array" request ! (just one thing overburn my head, WHY in ASCII ? Upper/Lower comparison ?) - [[User:Lou Montana|Lou Montana]] 12:23, 23 December 2007 (CET)

Revision as of 12:23, 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. HitmanFF 01:42, 23 December 2007 (CET)
Ooooh yes, I was too tired :) Didn't see you could get each letter separately, it's like "string2array" request ! (just one thing overburn my head, WHY in ASCII ? Upper/Lower comparison ?) - Lou Montana 12:23, 23 December 2007 (CET)