S
Sandhya Prabhakaran
Hi,
I have a string as str='123ACTGAAC'.
I need to extract the numeric part from the alphabetic part which I
did using123
To get the alphabetic part, I could doACTGAAC
But when I giveTraceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: expected a character buffer object
How do I blank out the initial numeric part so as to get just the
alphabetic part. The string is always in the same format.
Please help.
Regards,
Sandhya
I have a string as str='123ACTGAAC'.
I need to extract the numeric part from the alphabetic part which I
did using123
To get the alphabetic part, I could doACTGAAC
But when I giveTraceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: expected a character buffer object
How do I blank out the initial numeric part so as to get just the
alphabetic part. The string is always in the same format.
Please help.
Regards,
Sandhya