hello, first of all, happy new year!!! this is my first 2016 question. I have a list like myList=[ 'l_pollexFeatherWingA_loc', 'l_primCovFeathers1AEnd_loc', 'l_primCovFeathers1A_loc', 'l_primCovFeathers2AEnd_loc'] actually, the list is a lot longer but that will work. I want to swap "1A" and to "2A" , to "A1" and "A2". The first element "l_pollexFeatherWingA_loc" is fine because it doesn´t have a number before. I tried using split, but I can´t figure it out, because the elements of the list are too different. Just swapping "number+Letter" to "letter+number" would be perfect, but I guess it is not possible. I search on google, but the solutions I found didn´t work for me. cheers!
-- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/2d95fadb-d4a4-4565-8510-60092ded3c6d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
