URL:
  <http://gna.org/bugs/?12187>

                 Summary: WML string split bug
                 Project: Battle for Wesnoth
            Submitted by: None
            Submitted on: Sunday 08/17/2008 at 07:24 CEST
                Category: Bug
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: WML
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: [EMAIL PROTECTED]
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.5.2
        Operating System: all

    _______________________________________________________

Details:

when I do this:
[code]          [set_variable]
                        name=string
                        value="look"
                [/set_variable]
                        
                [set_variables]
                        name=split_test
                        mode=replace
                        [split]
                                list=_$string
                                separator=""
                                key=item
                        [/split]
                [/set_variables]
[/code]
the contents of split_test array are:
look, ook, ok, k.
I thought it would split it into: l, o, o, k but that is not the case.




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?12187>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to