sorry, my bad explanation. charName is variable and changing. i wanted to ask, about stripping last part with underscore via regex. but thanks anyways
On Saturday, 5 July 2014 11:36:53 UTC+5, Justin Israel wrote: > > Strip the "_charName" part from the end of the given string: > > substitute "_charName$" "blabla_blabla_charName" ""; > // Result: blabla_blabla // > > > > -- 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/6c032e11-1b77-43c6-be0b-8052ac93af0f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
