2021-10-26から1日間の記事一覧

VBA: 住所を50バイト毎に区切って3つの配列へ格納する。

Public Function getArrSplitLenB(istr$, arr_cnt As Long, ilen As Long) As Variant ReDim ret(arr_cnt - 1) ret(0) = LeftA(istr$, ilen) 'ariawase function Dim i%, wstr$: wstr$ = istr For i = 1 To arr_cnt - 1 wstr$ = Replace(wstr$, ret(i - 1), …

/* -----codeの行番号----- */