Hi all
slice() : Returns a part of the string s from index a to b.
substr() : Returns a part of the string s from index i with length l.
I'm having fun with krpano but i am having the the sslice function :
Here is my simple code and it's trace
Code
set(scene_name,get(scene[get(xml.scene)].name));
INFO: scene_aerial_e1_e2
trace(scene_name);
trace(get(substring(string(get(scene_name)),1,2)));
INFO: null
I don't know, i've been trying all the possibilities with the values of the slice, the get(), string(). i also tried with substr() but i keeps tracing null ....
Hope someone will see my post and help me out ! i searched an ive seen no one use this function on the forum...
Cheers from La douce France,
Matthias