我有一个"rtcpOnNbActive true"存储在变量中的字符串x。我想提取“true”作为子字符串并存储在一个变量中。我怎样才能做到这一点?
"rtcpOnNbActive true"
x
bash string variable
bash ×1
string ×1
variable ×1