[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: the n-th character from a string
From: |
Paul Smith |
Subject: |
Re: the n-th character from a string |
Date: |
Sat, 31 May 2014 10:44:20 -0400 |
On Sat, 2014-05-31 at 01:09 -0700, patrick wrote:
> is there any way for obtain the n-th charcter from a string?
There are no built-in functions to do it. You can use external programs
like "cut", invoked by the $(shell ...) program.
Alternatively you can use the GMSL: http://gmsl.sourceforge.net/
I haven't looked into it closely but there's a substr function which
appears to do what you want.