how do I chop of characters at the end of a line...

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Entelin
日付:  
題目: how do I chop of characters at the end of a line...
I want to take a variable say a="string.txt" and chop off the last 4
characters so I can make variable b equal to just "string"

Thanks for your help