It was a type-o.
string = 'directory/path/nukefile.nk'
string.replace('.nk', '')

Good?

Ron Ganbar
email: [email protected]
tel: +44 (0)7968 007 309 [UK]
     +972 (0)54 255 9765 [Israel]
url: http://ronganbar.wordpress.com/



On 31 May 2012 18:46, Noggy <[email protected]> wrote:

> **
> I'm confused by "no?string.replace(source, det)"
>
> What is det is this instance? and "no?string" Every once in a while there
> will be a question mark inside a diamond shape. What is that?
>
> _______________________________________________
> Nuke-python mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>
>
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to