#!/bin/bashinput="$1"IFS='.' read -r -a array <<< "$input"output=""for ((i=0; i<${#array[@]}; i++)); do for ((j=0; j<=i; j++)); do if [[ $j -gt 0 ]]; then output+="." fi output+="${array[j]}" done ou
function getOAuthToken() { var authInfo = ScriptApp.getAuthorizationInfo(ScriptApp.AuthMode.FULL); return authInfo.getAccessToken();}function exportToJSFile() { var sheet = SpreadsheetApp.getActiveSheet(); var data = sheet.getDataRange(
Sub ImportLogFileToExcel() Dim filePath As String Dim sheetName As String Dim sheet As Worksheet Dim logFileData As Variant Dim existingSheet As Boolean ' ログファイルのパスを指定 filePath = "C:\logs\log.txt" ' シート名をセルG7
Sub LoopThroughRange() Dim cellValue As Variant Dim currentRow As Long ' 初期行番号を2に設定 currentRow = 2 ' セルC2からG2が空でない限りループを続ける Do While Application.WorksheetFunction.CountA(Range("C" & currentRow & ":G" & currentRow))