根据端口号获得进程的 pid,然后 taskkill
命令杀死进程。
1 | @echo off |
根据端口号获得进程的 pid,然后 taskkill
命令杀死进程。
1 | @echo off |
提取最后一连串数字,采用从后往前查找的方式,程序中限定了返回结果字符串的长度必须为 15 或 16 或者 17 。
1 | Sub ExtractTheLastSuccessiveNumbers() |
问题描述:
I have an Excel sheet with text values, e.g. in A1: “This is the text”. I need to find the position of the last space character. Is there an excel formula that will give me the result I want? I have tried
FIND
andSEARCH
, however these start from left, what I need is to start from right.
解决办法一:
1 | =FIND("☃",SUBSTITUTE(A1," ","☃",LEN(A1)-LEN(SUBSTITUTE(A1," ","")))) |
说明:
LEN(A1)-LEN(SUBSTITUTE(A1," ",""))
gives you the number of spaces, let’s call it x,SUBSTITUTE(A1," ","☃",[x])
will replace the xth space (so the last one) by a snowman,FIND("☃",[...])
will give you the position of the snowman. Which is the position of the last space.
本文只是简单记录了使用 Wamp
搭建 PHP
服务器,主要涉及解决 MSVCP110.dll丢失问题,修改 mysql
默认配置,以及网站部署。
主要内容: