Форум программистов, компьютерный форум, киберфорум
C# для начинающих
Войти
Регистрация
Восстановить пароль
Карта форума Темы раздела Блоги Сообщество Поиск Заказать работу  
 
Рейтинг 4.87/15: Рейтинг темы: голосов - 15, средняя оценка - 4.87
1 / 1 / 0
Регистрация: 09.09.2014
Сообщений: 120
1

Количество символов от абзаца до абзаца

04.09.2016, 17:23. Показов 2772. Ответов 15
Метки нет (Все метки)

Author24 — интернет-сервис помощи студентам
Как программно можно узнать количество символов каждого с этих абзацев? Потом, например, поделить первый абзац на еще абзацы(если он больше n количества символов). Делить обязательно после точки, и чтобы следующий символ был в верхнем регистре.
Например:

Why Do We Garden? Garden is a plot of ground, usually near a house, where flowers, shrubs, vegetables, fruits or herbs are cultivated. It can incorporate both natural and human materials. Some gardens are for ornamental purposes only, while other gardens also produce food crops, sometimes in separate areas, or sometimes intermixed with the ornamental plants. In addition,*gardens may be designed by garden owners themselves, or by professionals.

The most important consideration in any garden design is, how the garden will be used, followed closely by the desired stylistic genres, and the way the garden space will connect to the home or other structures in the surrounding areas. And, gardening*is the activity of growing and maintaining the garden. This work is done by an amateur or professional*gardener. A gardener might also work in a non-garden setting, such as a park, a roadside embankment, or other*public space. Some gardeners manage their gardens without using any water from outside the garden, and therefore do not deprive wetland habitats of the water they need to survive.
0
Лучшие ответы (1)
Programming
Эксперт
94731 / 64177 / 26122
Регистрация: 12.04.2006
Сообщений: 116,782
04.09.2016, 17:23
Ответы с готовыми решениями:

Извлечение абзаца из текста
День добрый форумчане. Такой вопрос: Есть несколько открытых документов (под "открытыми" я...

Получение номера абзаца OpenXML word
Есть документ Word и в нём много пронумерованных абзацев. Подскажите как получить номер абзаца?

Как заменить символ "Tab" в начале абзаца на пробелы?
помогите решить задачу: как заменить символ "Tab" в начале абзаца на пробелы? str = ...

Последнее слово второго абзаца поставить в начало второго абзаца
В Word'е написать макрос, который ставит последнее слово второго абзаца в начало второго абзаца....

15
3462 / 2473 / 695
Регистрация: 02.08.2011
Сообщений: 6,705
04.09.2016, 18:48 2
Если абзацы отделяются пустыми строками, то просто читать построчно и суммировать.
После пустой строки обнулять сумму и повторять в цикле.

Добавлено через 4 минуты
Откуда конкретно читается текст?
0
1 / 1 / 0
Регистрация: 09.09.2014
Сообщений: 120
04.09.2016, 18:55  [ТС] 3
IamRain, Плохой пример дал. С текстового документа все читаться

Кликните здесь для просмотра всего текста
Sports influence life of peoples and nations , and play an important role and essential part for people on daily basis by creating an atmosphere full cooperation and affiliation, and strengthen the social ties for being an integral part of the public education process. Studies show that regular physical activity with healthy eating habits, is considered the most effective and healthy weight control. Whether trying to lose weight or maintain it. It doesn’t matter what kind of physical activity that an individual make, whether by participating in sports, doing daily house task , or business-related work. Participating in Sports have big impact on acquiring the ability to understand oneself and others, and how to deal with them and a sense of responsibility in building social relations and development for society as a whole. Sports connect individuals by feeling their mental and physical abilities. In brief, research have indicated the correlation between physical activities and undergraduate/ high school students for different age group. The benefits of being involved in sports and the degree of influence on student’s grades, by reducing anxiety caused by psychological and social troubles despite the time consumed in performing the activity. This refers to find the right balance between sports and studies. Introduction

“Asound mind in a sound body, is a short, but full description of a happy state in this World: he that has these two, has little more to wish for; and he that wants either of them, will be little the better for anything else.” (John Locke, Some Thoughts Concerning Education, 1693). Sports considered part of recreational activities, which allow many opportunities to the individual to play the role more effectively through exercises that can take positive advantage of the physical skills & Intellectual ability. Regular exercise helps protect from heart disease, stroke, high blood pressure, insulin-independent diabetes, obesity, back pain, osteoporosis, and can also improve your mood and prevent life pressures. Exercises also increase the good cholesterol HDL in the body and reduces LDL cholesterol and improve the flow of blood, and increase the ability to work under pressure . Experts advise a workout of 20-30 minutes three times or more per week, and perform muscle exercises at least twice a week. Sports and students

In sports, most people often see advantages in just building shapes. However, there are also many social and individual advantages. Participating in physical activities one of the most fulfilling encounters students can have. While meanings taught in sporting can be precious, in an age when skilled sportsmen are forsaken college for the sake of engaging in contracts worth large figures. Most university sportsmen never achieve the high end, and the ones who do are normally done enjoying by age 33. Keeping the self-discipline to execute well on the stage as well as in the class room can set you up for success long after your enjoying days are over. Sports educate learners the idea of group connections “there is no I in team”. Sports help learners realize that cooperating as a group means more achievements, and the projects that they will work towards become a lot easier. Teamwork even moves into the class room for group projects. It is important for learners to learn how to work together to achieve a objective. Just like in sports, if your team mate is having difficulties, you help them pick up the slack to get to your objective. In the class room, this might mean that they create an additional page of an task for a group or make an additional glide for a venture. Being a member of a group whether it be golf ball, beach ball, or even in a class room can be a very fulfilling encounter
for all learners.

Benefits of participating in physical activities
Improving health and exerting students’ surplus energies.
Obeying the competition or societal rules and constraining delinquent behaviors (such as cheating, acting violently, consuming illegal substances, and drinking excessive alcohol, etc) Promoting societal values, integrity and building character Enhancing confidence, motivation, sense of empowerment, and self-esteem Providing social interaction, fun and enjoyment

Offering opportunities for education and career in sports
Expanding life experience and making more friends
Knowing how to deal with failure and difficult situation
Developing life-skills
(Blinde, Taub, & Han, 1993; Coakley, 2007; Eitzen & Sage, 2008; Hudson, 2000; JOPERD, 2004; Shaffer, & Wittes, 2006; Woods, 2006; Woodruff & Schallert, 2008). Sports in High Schools
Academic qualifications for student-athletes in public high schools fitness activities has many variations and has been changing over the past many decades. But how far have we come in motivating sportsmen in the classroom? The term student-athlete implies that the person engaged with education and sporting is both a good student in the class room and an active and effective individual on an fitness team. In theory, academic proficiency is a requirements for fitness contribution. It has been proven that high schools sportsmen usually have a greater GPA than non sportsmen (Eitzen & Tale, 1993). As school regions and fitness administrators work to show responsibility to the mother and father in their respective communities through the modification of fitness codes, it is essential address the issue of student sportsman academic performance. Efforts to change academic qualifications for high schools sportsmen began in 1983, amongst powerful resistance from trainers, mother and father, and others (Wolf, 1983). In 1984 the condition of Texas introduced a "No Pass No Play" rule that mentioned that sportsmen could not have any failing qualities if they were to join in a sporting action (Richards, 1987). A spe******t selected 125 great schools across 48 declares and compared their specifications for
fitness qualifications. The focus was on four specific academic qualifications areas: 1. Minimum personal GPA for fitness contribution.

2. Maximum variety of Fs that an sportsman can have and still take part. 3. The time period for athletic-academic revocation for sportsmen that don't achieve the lowest specifications. 4. A sticking to personal condition association guidelines for academic qualifications. As this research indicates, only a tiny proportion of great schools in the United States have attached a lowest GPA to their academic specifications for fitness qualifications. The tutorial institutions that had minimal requirements justified these requirements by stating that sporting keep children in school; if they were not qualified to join in sporting, these learners would drop out. Some of the schools in the research indicated that they incorporated a quality factor to their qualifications but later removed this requirements from their fitness code because of opposition from trainers and mother and father. Additional justifications from fitness administrators protecting low academic specifications included that fitness applications must remain student-friendly and that all learners, regardless of what their qualities, should have the right to join. A variety of fitness administrators revealed that they would like to have even reduced academic specifications than those already in position. In schools that had powerful academic specifications, fitness administrators revealed learners modified to the specifications once they were set in position. One fitness director mentioned that children know what the lowest GPA is to be qualified so they will do what is required. In fact, he even thought that they could raise the quality factor to 2.5 and the student-athletes would adjust in an issue of your energy and effort. One high school in Canada that had a lowest GPA of 2.5 maintained the right to hold an sportsman out if the trainers felt that the student-athlete was not performing up to his or her prospective, even if the grade that the student maintained is 3.0. When public schools educational applications are under heavy analysis, fitness applications with low academic requirements are only harming themselves by letting their sportsmen just get by. The fitness applications in this research that have challenged their learners in the class room with greater academic requirements over a many decades have been successful in improving the
quality of factor earnings. Students modified to the educational demands set by the fitness applications and the variety of learners that were announced ineligible was consistent with the variety that were announced ineligible under the reduced academic requirement. Scholarship or grant Availability

Most universities provide money to sportsmen in the form of educational grants. With 3.1 million secondary university graduate students this year and only 450,000 of those playing college fitness programs, qualities play a part in obtaining grants and financial aid unless you are being enrolled by an upper-tier institution. College sports and students

College activities have progressively become a fundamental element of college student lifestyle. As viewers or through direct contribution, college activities can impact learners in many different ways. Physical teachers and game experts would agree that fitness contribution brings numerous physical, emotional, educational and community advantages to the members. More specifically, many positive educational advantages were discovered to be associated with intercollegiate game contribution. Research supported that college student-athletes were often more engaged in academic and university activities than their non-athlete peers (Wolniak, Pierson, & Pascarella, 2001). Student-athletes were also more likely to exchange discovered life and perform abilities, self-esteem and personality (i.e., reliability and work-ethics) into their selected profession areas (Weis, 2007). In addition, effective fitness programs that continually win more games entice student-athletes and non-student-athletes with higher academic ratings, hence helping the instructors of the organization as a whole. (Mixon, Trevino, & Minto, 2004). Because there are so many academic advantages associated with fitness contribution, Valente (2006), a lecturer of songs, mentioned that her songs learners could certainly learn about abilities and features such as goal establishing techniques, exercising carefully and being on time from student-athletes. In comparison to the advantages of fitness contribution, several specific research analyzing the effect of fitness contribution on intellectual studying of college student-athletes review different results in resistance to the advantages that are detailed in these passage. These data indicated that fitness contribution had either
adverse organization or no effect on male college student-athletes’ academic inspiration, development, and studying ability Wolniak, Pierson, & Pascarella, 2001). Other research also found that learners who took part in intercollegiate sporting did not have a better GPA or greater results in intellectual studying and inspiration (Wolniak et al., 2001) in comparison to those learners who were not sportsmen. Therefore, this indicates that the literary works facilitates the idea that college sporting in fact does have many advantages to the individual sportsman and organization, but the level to which the effect goes may not be concretely identified. The question that follows then is: will there be any damaging emotional or physical? Effect if an sportsman displays a advanced level of fitness identification and game commitment? Obviously, sportsmen with a strong fitness identification might tend to ignore other factors of lifestyle in order to meet up with their sportsman role, which can increase the danger of public problems. The scores of comparative importance of two life-roles extracurricular actions and relationship were found to be extremely low for a group of sportsmen. However, indicated that top level race sportsmen did not have the same ranking. This may indicate that some sportsmen are still able to balance their public and fitness lifestyle without suffering from emotional problems. Also added that the student-athletes at females universities were more involved in instructors, yet did not vary in how long spent in extracurricular actions and in the quantity of student participation. This may suggest that living a w ell-balanced educational, public, and fitness lifestyle can possibly be possible philosophy. In addition to community issues, research that student-athletes often begin their college profession with vague or nonexistent profession objectives and spend heavily in their fitness positions (Lally & Kerr, 2005; Burns & Kerr, 2003). They handle with dual-role details, full-time sportsman and full-time college student, at the same time in their early college decades. As they become upperclassmen and complete their enjoying qualifications, they progressively choose to spend money on the latter identification fully to explore non-sport profession options (Wiechman & Bill, 1997). This suggestion may imply that student-athletes don’t necessarily view enjoying game as the most essential or the only essential action in their lives. Exercises & female students
0
3462 / 2473 / 695
Регистрация: 02.08.2011
Сообщений: 6,705
04.09.2016, 19:39 4
Первые строки абзацов начинаются с символов табуляции.
C#
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
rivate static IDictionary<int, string> GetParagraphs(string path)
        {
            using (var stream = new FileStream(path, FileMode.Open))
            using (var reader = new StreamReader(stream, Encoding.Default))
            {
                string str;
                int commonSum = 0;
                var dict = new Dictionary<int, string>();
 
                StringBuilder builder = new StringBuilder();
                while ((str = reader.ReadLine()) != null)
                {
                    if (str[0] == '\t' && commonSum != 0)
                    {
                        dict.Add(commonSum,builder.ToString());
                        builder.Clear();
                    }
                    builder.Append(str);
                    commonSum += str.Length;
                }
                return dict;
                
            }
        }
Метод возвращает словарь, где ключи - индексы абзацев, value - текст абзацев. Дальше уже сами можете анализировать длину.

Добавлено через 20 минут
мм, исправленный вариант:
C#
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
private static IDictionary<int, string> GetParagraphs(string path)
        {
            using (var stream = new FileStream(path, FileMode.Open))
            using (var reader = new StreamReader(stream, Encoding.Default))
            {
                string str;
                int commonSum = 0;
                var dict = new Dictionary<int, string>();
 
                StringBuilder builder = new StringBuilder();
                while ((str = reader.ReadLine()) != null)
                {
                    if (str[0] == '\t' && builder.Length > 0)
                    {
                        dict.Add(commonSum, builder.ToString());
                        builder.Clear();
                    }
                    builder.Append(str);
                    commonSum += str.Length;
                }
 
                if (builder.Length > 0)
                    dict.Add(dict.Keys.Last() + dict[dict.Keys.Last()].Length,builder.ToString());
 
                return dict;
            }
        }
0
1 / 1 / 0
Регистрация: 09.09.2014
Сообщений: 120
04.09.2016, 20:04  [ТС] 5
IamRain, извините, а как его вызвать в
C#
1
2
3
4
static void Main(string[] args)
        {
            
        }
0
3462 / 2473 / 695
Регистрация: 02.08.2011
Сообщений: 6,705
04.09.2016, 20:07 6
C#
1
2
3
4
5
6
 static void Main(string[] args)
        {
            var path = @"Путь к файлу";
            var dict = GetParagraphs(path);
            Console.ReadKey();
        }
Код не до конца валиден, почему-то последний ключ в словаре больше длины всего текста.
Разберусь, выложу исправленный вариант.
0
1 / 1 / 0
Регистрация: 09.09.2014
Сообщений: 120
04.09.2016, 20:10  [ТС] 7
IamRain, Спасибо, очень надеюсь на вашу помощь, жду)
0
601 / 485 / 185
Регистрация: 19.04.2016
Сообщений: 1,885
04.09.2016, 20:29 8
Цитата Сообщение от IamRain Посмотреть сообщение
C#
1
2
if (builder.Length > 0)
    dict.Add(dict.Keys.Last() + dict[dict.Keys.Last()].Length,builder.ToString());
Не так)?:
C#
1
2
if (builder.Length > 0)
    dict.Add(dict.Keys.Last() + builder.Length,builder.ToString());
0
1 / 1 / 0
Регистрация: 09.09.2014
Сообщений: 120
04.09.2016, 20:34  [ТС] 9
EveKS, индекс находиться в не границ массива и подсвечивает строку
C#
1
if (str[0] == '\t' && builder.Length > 0)
Текст я брал такой
Кликните здесь для просмотра всего текста
Identify the differences between bacteria viruses, Fungi and Parasites. Viruses are pieces of nucleic acid (DNA or RNA) wrapped in a thin coat of protein that replicate only within th

There are many different varieties of fungi, and we eat quite a few of them. Mushrooms are fungi, as is the mold that forms the blue or green veins in some types of cheese. And yeast, anothe

Infection begins when an organism successfull
0
3462 / 2473 / 695
Регистрация: 02.08.2011
Сообщений: 6,705
04.09.2016, 21:36 10
Валидный метод:
C#
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 private static IDictionary<int, string> GetParagraphs(string path)
        {
                        using (var stream = new FileStream(path, FileMode.Open))
            using (var reader = new StreamReader(stream, Encoding.Default))
            {
                string str;
                int commonSum = 0;
                var dict = new Dictionary<int, string>();
 
               
 
                StringBuilder builder = new StringBuilder();
                while ((str = reader.ReadLine()) != null)
                {
                    if (str[0] == '\t' && builder.Length > 0)
                    { 
                        if (dict.Count > 0) dict.Add(commonSum - builder.Length, builder.ToString());
                        else dict.Add(0,builder.ToString());
                        builder.Clear();
                    }
                    builder.Append(str);
                    commonSum += str.Length;                   
                }
 
                if (builder.Length > 0)
                    dict.Add(dict.Keys.Last() + dict[dict.Keys.Last()].Length,builder.ToString());
 
                return dict;
            }
        }
Добавлено через 7 минут
sergiy1912, подразумевается, что в тексте нет пустых строк.

Добавлено через 12 минут
sergiy1912, если нужно чтобы работало также с пустыми строками, то исправьте:
Цитата Сообщение от IamRain Посмотреть сообщение
if (str[0] == '\t' && builder.Length > 0)
на
C#
1
 if (str.Equals(string.Empty) || str[0] == '\t' && builder.Length > 0)
Добавлено через 22 минуты
На это правильнее:
C#
1
if ((str.Equals(string.Empty) || str[0] == '\t') && builder.Length > 0)
0
1 / 1 / 0
Регистрация: 09.09.2014
Сообщений: 120
05.09.2016, 08:53  [ТС] 11
IamRain, а как правильно вытаскивать данные со словаря? И как например, если абзац больше 300 символов разделить его на 2?

Добавлено через 8 часов 39 минут
Как вытащить данные разобрался, осталось только сделать что бы если длинна абзаца была больше 300 оно делило его на 2 части обязательно после точки, и чтобы следующий символ был в верхнем регистре? Есть идеи?
0
3462 / 2473 / 695
Регистрация: 02.08.2011
Сообщений: 6,705
05.09.2016, 09:22 12
Лучший ответ Сообщение было отмечено sergiy1912 как решение

Решение

C#
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
 private static void Main(string[] args)
        {
            var path = @"sourcepath";
            var path2 = @"destinationpath";
           // ограничение на длину абзаца
            var threshold = 300; 
 
 
 
            var dict = GetParagraphs(path);
 
 
            using (var stream = new FileStream(path2, FileMode.Create,FileAccess.Write))
            using (var writer = new StreamWriter(stream, Encoding.Default))
            {
                foreach (var key in dict.Keys)
                {
                    var sentences = dict[key].Split('.');
 
                    if (dict[key].Length > threshold)
                    {
                        var count = sentences.Length/2;
                        var newPar = sentences[count];
                        newPar = newPar.Insert(0, "\t");
                        sentences[count] = newPar;
                    }
 
                    foreach (var sentence in sentences)
                           writer.WriteLine(sentence);
                }
            }
 
 
            Console.ReadKey();
        }
В метод уже сами выделите.
1
1 / 1 / 0
Регистрация: 09.09.2014
Сообщений: 120
05.09.2016, 11:24  [ТС] 13
IamRain, немножко что то не так.
Кликните здесь для просмотра всего текста
Environment is inseparable part of our life. We are depended on it and we have to adjust to survive on Earth. But do people pay enough attention to keep it in a good condition? Are we conscious how huge role it plays in our lives? One of the greatest problems that the world is facing today is that of environmental pollution, increasing with every passing year and causing grave and irreparable damage to the earth. Environmental pollution consists of five basic types of pollution, namely, air, water, soil, noise and light.

Air pollution is by far the most harmful form of pollution in our environment. Air pollution is cause by the injurious smoke emitted by cars, buses, trucks, trains, and factories, namely sulphur dioxide, carbon monoxide and nitrogen oxides. Water pollution caused industrial waste products released into lakes, rivers, and other water bodies, has made marine life no longer hospitable. Humans pollute water with large-scale disposal of garbage, flowers, ashes, and other household waste.



Environment is inseparable part of our life
We are depended on it and we have to adjust to survive on Earth
But do people pay enough attention to keep it in a good condition? Are we conscious how huge role it plays in our lives? One of the greatest problems that the world is facing today is that of environmental pollution, increasing with every passing year and causing grave and irreparable damage to the earth
Environmental pollution consists of five basic types of pollution, namely, air, water, soil, noise and light

Air pollution is by far the most harmful form of pollution in our environment
Air pollution is cause by the injurious smoke emitted by cars, buses, trucks, trains, and factories, namely sulphur dioxide, carbon monoxide and nitrogen oxides
Water pollution caused industrial waste products released into lakes, rivers, and other water bodies, has made marine life no longer hospitable
Humans pollute water with large-scale disposal of garbage, flowers, ashes, and other household waste


Добавлено через 1 минуту
Нужно что бы делило абзац на 2, а оно просто каждое предложения переносит в новую строку
0
3462 / 2473 / 695
Регистрация: 02.08.2011
Сообщений: 6,705
05.09.2016, 11:49 14
Цитата Сообщение от sergiy1912 Посмотреть сообщение
а оно просто каждое предложения переносит в новую строку
Абзацы отделяются символом табуляции. Если хотите чтобы отделялись пустой строкой, вместо
C#
1
newPar = newPar.Insert(0, "\t");
на
C#
1
newPar = newPar.Insert(0, "\n\t");
0
1 / 1 / 0
Регистрация: 09.09.2014
Сообщений: 120
05.09.2016, 12:07  [ТС] 15
IamRain, что то не так, все равно, оно должно выводить не так
Кликните здесь для просмотра всего текста
Environment is inseparable part of our life
We are depended on it and we have to adjust to survive on Earth

But do people pay enough attention to keep it in a good condition? Are we conscious how huge role it plays in our lives? One of the greatest problems that the world is facing today is that of environmental pollution, increasing with every passing year and causing grave and irreparable damage to the earth
Environmental pollution consists of five basic types of pollution, namely, air, water, soil, noise and light

Air pollution is by far the most harmful form of pollution in our environment
Air pollution is cause by the injurious smoke emitted by cars, buses, trucks, trains, and factories, namely sulphur dioxide, carbon monoxide and nitrogen oxides

Water pollution caused industrial waste products released into lakes, rivers, and other water bodies, has made marine life no longer hospitable
Humans pollute water with large-scale disposal of garbage, flowers, ashes, and other household waste

а так
Кликните здесь для просмотра всего текста
Environment is inseparable part of our life. We are depended on it and we have to adjust to survive on Earth. But do people pay enough attention to keep it in a good condition?

Are we conscious how huge role it plays in our lives? One of the greatest problems that the world is facing today is that of environmental pollution, increasing with every passing year and causing grave and irreparable damage to the earth. Environmental pollution consists of five basic types of pollution, namely, air, water, soil, noise and light.

Air pollution is by far the most harmful form of pollution in our environment. Air pollution is cause by the injurious smoke emitted by cars, buses, trucks, trains, and factories, namely sulphur dioxide, carbon monoxide and nitrogen oxides.

Water pollution caused industrial waste products released into lakes, rivers, and other water bodies, has made marine life no longer hospitable. Humans pollute water with large-scale disposal of garbage, flowers, ashes, and other household waste.]


Добавлено через 1 минуту
foreach (var sentence in sentences)
writer.WriteLine(sentence);

Мб что-то тут не так?
0
3462 / 2473 / 695
Регистрация: 02.08.2011
Сообщений: 6,705
05.09.2016, 12:10 16
Ну да, пишется каждое предложение на новой строке, это для читабельности.
Ну а новый абзац пишется с новой строки и с табуляции.
Если бы писались все предложения одного абзаца в одну строку, пришлось бы прокручивать скрол, так как строки получались бы слишком длинными, было бы неудобно читать.
Соизвольте разобраться в коде самостоятельно и сделать так, как вам нужно.
0
05.09.2016, 12:10
IT_Exp
Эксперт
87844 / 49110 / 22898
Регистрация: 17.06.2006
Сообщений: 92,604
05.09.2016, 12:10
Помогаю со студенческими работами здесь

Удаление всех символов от выделенного фрагмента до конца абзаца
Как удалить все символы от выделенного фрагмента до конца абзаца? Добавлено через 33 минуты в...

Найти любое кл-во любых символов кроме конца абзаца (0013)
Здравствуйте Помогите пожалуйста с регуляркой. К примеру, нужно заменить Том(любое кл-во...

Поиск абзаца содержащего наибольшее количество слов
Помогите пожалуйста необходимо определить абзац, содержащий наибольшее количество слов....

Дан текстовый файл. Найти количество абзацев в тексте, если первая строка каждого абзаца начинается с 5 пробелов
Дан текстовый файл. Найти количество абзацев в тексте, если первая строка каждого абзаца начинается...


Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:
16
Ответ Создать тему
КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin
Copyright ©2000 - 2024, CyberForum.ru