i have a string like *"blabla_blabla_charName"* i want to strip / remove *"_charName"* from end...
one attempt is string $saveFileName = `substitute "^[^.]*\\_" $saveFileString ""`; // it retuns "charName" i know, its almost opposite to what i need thanks in advance -- 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/d1c2b462-f371-4196-9db6-11ac304255f2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
