Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a_before = "widget_1;widget_3;widget_2;|widget_5|".split("|").split(";")
- a_after = "widget_1;widget_3;widget_2;||widget_5".split("|").split(";")
- line=""
- #parcourir les tableaux
- a_before.each_with_index do |a_column,index|
- a_column.each do |item|
- a_bpos=position(a_before,item)
- a_apos=position(a_after,item)
- if a_bpos!=a_apos
- line+=" MODIF "
- end
- end
- end
Add Comment
Please, Sign In to add comment