本文介绍了如何从字符串指针中删除字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 嗨 any1知道一种方法,你可以搜索字符串并从特定指针中删除字符,直到换行。例如: 这是一个测试@A测试这是 如何使它如此搜索指针(例如@)并且这样做: 这是一个测试 感谢您对高级的帮助!!! 解决方案 @ JosAH 我知道dat函数但是,如何在使用它之后删除其余的字符是问题所在。这只会指向我,它不会删除或删除任何东西。 HiDoes any1 know of a method where you can search through a string and remove chars from a specific pointer until the new line. For example:"This is a test @ A test this is"how do make it so u search for a pointer (e.g.@) and make it this:"This is a test"Thanks for your help in advanced!!! 解决方案 这篇关于如何从字符串指针中删除字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
09-05 19:52