我打字时更换字符串 [英] Replace String While I Am Typing

查看:96
本文介绍了我打字时更换字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我现在想要一个非常简洁的代码。假设 -

如果我打开我的程序并在任何地方输入 - 它将替换完整的字符串并键入@和OOK它将键入$等等



如果我输入这个章程中间的一个单词然后也替换。假设



我在记事本上写...



我正常输入 - CAT

打开程序后然后键入CAT - C @(将AT替换为@)



通常类型 - 预订

打开我的程序然后输入预订-B $(将OOK替换为$)



我希望每个人都清楚地了解我真正想要的东西。



感谢高级

Hello,
I just now want a very sample code. Suppose -
If I open my program and type anywhere - AT it will replace full string and type @ and OOK it will type $ and etc etc.

if I type these charter middle of a word then also replace.Suppose

I am writting on Notepad ...

I type normally - CAT
After opening my program AND then type CAT - C@ (Replace AT to @)

Normally Type - BOOK
After opening my program and then if I type book -B$ (replace OOK to $)

I hope everyone understand me clearly what I am really looking for.

Thanks in advanced

推荐答案

等等。



如果我输入这个章程中间的一个单词然后也替换。假设



我在记事本上写...



我正常输入 - CAT

打开程序后然后键入CAT - C @(将AT替换为@)



通常类型 - BOOK

打开程序后然后输入book -B
and etc etc.

if I type these charter middle of a word then also replace.Suppose

I am writting on Notepad ...

I type normally - CAT
After opening my program AND then type CAT - C@ (Replace AT to @)

Normally Type - BOOK
After opening my program and then if I type book -B


(将OOK替换为






我希望每个人都清楚地了解我真正想要的东西。



感谢先进的
)

I hope everyone understand me clearly what I am really looking for.

Thanks in advanced


这篇关于我打字时更换字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆