什么是将一个字符串拆分为两个字符串的程序 [英] what is a program for spliting one string into two strings

查看:125
本文介绍了什么是将一个字符串拆分为两个字符串的程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我们给出一个包含250个字符的字符串.我希望将其拆分为一个字符串,分为160个字符,另一字符串分为90个字符,

给我回答那个问题
我希望c#.net中的程序没有解释

解决方案

您尝试了什么?

这是一个如此简单而轻松的任务,无需给人任何答案.


我强烈建议您拿起一本有关C#的书并开始阅读.这将帮助您开始编程.

然后,您将能够理解此类程序的输出.


您以前是否做过任何编程?

我了解英语可能不是您的第一语言,但是您的提问只是粗鲁的.

不要要求,不要订购.

随便问一下,然后请显示您到目前为止所做的事情,并给出您的要求的背景.

这真的有帮助.

穆斯塔法(Mustafa)给出了一个合理的答案,请尝试一下,看看您获得了什么样的输出.

if we give one string that contains 250 characters . i want that to be splited into one string as 160 characters and another string into 90 characters

give give me answer that that question
i want program in c#.net not an explanation

解决方案

What have you tried?

This is such a simple and easy task no one should have to be given the answer to it.


I would seriously recommend that you pick up a book on C# and start reading. It will help you get started with programming.

You will be able to understand the output of such programs then.


Have you ever done any programming before?

I understand that English may not be your first langauge, but your qustion is just rude.

Do not demand, do not order.

Just ask, and please show what you have done so far and give the context of your requirements.

This really helps.

Mustafa has given a fair answer, try it and see what outputs you get.


这篇关于什么是将一个字符串拆分为两个字符串的程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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