我只想拿出我的$UserInput$,并删除前两个字符从它。
请帮帮忙
Input = w015443746
想要= 15443746
[measureInput]
; The InputText.dll plugin has special powers: it allows user input.
; However, it's not the easiest way to start learning Rainmeter. Get a
; hold of the basics, and then check out the manual entry for InputText.
Measure=Plugin
Plugin=InputText.dll
SolidColor=20,20,20,255
StringAlign=Left
StringCase=None
StringStyle=Bold
StringEffect=Shadow
FontEffectColor=0,0,0,20
FontColor=#colorText#
FontFace=#fontName#
FontSize=#textSize#
X=10
Y=38
W=188
H=17
FocusDismiss=1
DefaultValue=""
Command1=["https://www.google.com/search?q$UserInput$"]
UpdateDivider=86400发布于 2022-04-22 15:58:24
Lua字符串具有作为方法附加的所有字符串函数。
所以有可能.
Input = 'w015443746'
Want = Input:sub(3)( @Luke100000就是这个意思)
Lua独立人士的印象
Lua 5.4.4 Copyright (C) 1994-2022 Lua.org, PUC-Rio
> Input = 'w015443746'
> Want = Input:sub(3)
> print(Want)
15443746https://stackoverflow.com/questions/71970851
复制相似问题