0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

M_Cmd:内部処理

Last updated at Posted at 2025-04-28

ワイルドカード変換

'==============================================================================
' 内部処理
'==============================================================================
' ワイルドカード変換
'++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
' RepExp→findstr
'------------------------------------------------------------------------------
Private Function PF_Cmd_ReturnWildCardRegExp2FindStr( _
        ByVal aSrchPtn As String) As String
    Dim wkRtn As String: wkRtn = aSrchPtn
    Dim wkTmpAry As Variant, wkTmp As Variant
    
    If M_String.F_String_GetSplit(wkTmpAry, wkRtn, "|", aIncChkFlg:=True) = True Then
        wkRtn = ""
        
        For Each wkTmp In wkTmpAry
            If wkTmp <> "" Then
                wkRtn = wkRtn & " " & wkTmp
            End If
        Next wkTmp
    End If
    
    PF_Cmd_ReturnWildCardRegExp2FindStr = wkRtn
End Function
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?