top of page
- API -

checkType = reaper.AZ_CheckSameString(textStr,checkStr)

- API Detail-

▼Input value

textStr(string): Text

checkStr(string): The text to check


▼Output value

retval(boolean): Success or failure of API execution

checkType(boolean): true/specified string is an exact match, character size is ignored false/specified string is not an exact match

- SCRIPT -

package.cpath = package.cpath .. ";"..reaper.GetResourcePath() .."/UserPlugins/?.dll"

require("reaper_AZSTOKE_SILVER")


function Msg(param)

reaper.ShowConsoleMsg(tostring(param).."\n")

end


textStr = "AZSTOKE"

checkStr = "AZSTOKE"

checkType = reaper.AZ_CheckSameString(textStr,checkStr)

Msg(checkType)


checkStr = "azstoke"

checkType = reaper.AZ_CheckSameString(textStr,checkStr)

Msg(checkType)


checkStr = "A-Z"

checkType = reaper.AZ_CheckSameString(textStr,checkStr)

Msg(checkType)


STRING

AZ_CheckSameString

Supported versions:

1.0.3

onwards

Check if the specified strings are the same without judging the case

bottom of page