2009-08-05 文字列切り出し awk 文字列Strの頭からi番目のn文字を取得 substr(s,i,n) 文字列sのi番目から始まるn文字を返す. jsubstr(s,i,n) 日本語文字列sのi番目から始まるn文字を返す.