I have a string that looks like this:(我有一个看起来像这样的字符串:)
0000000020C90037:TEMP:data(0000000020C90037:TEMP:数据) And I need to grab everything after the first colon, so that I have TEMP:data.(我需要在第一次冒号之后抓住所有内容,以便我有TEMP:数据。) I don't often work in Javascript, if it were PHP I would do this:(我不经常使用Javascript,如果它是PHP我会这样做:)$str = '0000000020C90037:TEMP:data';
$arr = explode(":", $str);
$var = $arr[1].":".$arr[2];
ask by Doug Molineux translate from so