Lädt...


🔧 10. String operations


Nachrichtenbereich: 🔧 Programmierung
🔗 Quelle: dev.to

10. String operations

a)Quyidagi kod nima qiladi?

string name = "John" ;
string upperName = name. ToUpper ();
Console. WriteLine (upperName);

b)Stringlarni birlashtirishning bir usulini keltiring.

c)Stringlarni solishtirish uchun qaysi metod ishlatiladi?

Javoblari:


a) Tekstdagi hamma harflarni kottadan yozib beradi;
b) Replace() metodi orqali ma'lum bir qatorni boshqa qiymatga almashtirish mumkin.
using System;
using System.Text;

c)

class Program
{
    static void Main()
    {
        StringBuilder sb = new StringBuilder("Hello Beautiful World!");
    sb.Remove(6, 10);
    Console.WriteLine(sb.ToString()); 
}

}

c) Agar siz stringlarning ma'lum bir tartibda
(masalan, katta-kichik harflarga qarab) 
solishtirishni xohlasangiz, compareTo() metodidan 
foydalanishingiz mumkin.
...

🔧 Java String Management: String Pool vs String Heap Explained


📈 27.99 Punkte
🔧 Programmierung

🔧 String Operations(Length, escape character, verbatim string)


📈 27.1 Punkte
🔧 Programmierung

🔧 String Operations(Length,escape character,verbatim string)


📈 27.1 Punkte
🔧 Programmierung

🔧 JavaScript: Strings, String Methods, and String Properties


📈 18.66 Punkte
🔧 Programmierung

🕵️ libxslt 1.1.33 numbers.c xsltNumberFormatInsertNumbers String Format String


📈 18.66 Punkte
🕵️ Sicherheitslücken

🔧 Implementing Excel Reading into List<Map<String, String>> in Java


📈 18.66 Punkte
🔧 Programmierung

🕵️ secure-compare up to 3.0.0 on Node.js String Comparison Argument Format String


📈 18.66 Punkte
🕵️ Sicherheitslücken

🔧 How to Check if a String Contains Another String in C# 🔍


📈 18.66 Punkte
🔧 Programmierung

🔧 JS Remove Char from String – How to Trim a Character from a String in JavaScript


📈 18.66 Punkte
🔧 Programmierung

🕵️ Medium CVE-2019-16882: String-interner project String-interner


📈 18.66 Punkte
🕵️ Sicherheitslücken

🔧 C Print String – How to Print a String in C


📈 18.66 Punkte
🔧 Programmierung

🐧 SVGZ / XML replacing string with string


📈 18.66 Punkte
🐧 Linux Tipps

🔧 Length of C String – How to Find the Size of a String in C


📈 18.66 Punkte
🔧 Programmierung

🕵️ Microsoft Office 2000/2003/2004/Xp Undefined String Format String


📈 18.66 Punkte
🕵️ Sicherheitslücken

📰 Hsbc app accepts a string prefixed with a random string and apparently is not case sensitive


📈 18.66 Punkte
📰 IT Security Nachrichten

🔧 Python Split String – How to Split a String into a List or Array in Python


📈 18.66 Punkte
🔧 Programmierung

🕵️ Ruby 1.9.3/2.0.0/2.1.0 string.c str_buf_cat Long String denial of service


📈 18.66 Punkte
🕵️ Sicherheitslücken

🐧 How to Remove Characters from a String in Arduino Using String.remove() Function


📈 18.66 Punkte
🐧 Linux Tipps

🔧 JavaScript String Tutorial – String Methods in JS


📈 18.66 Punkte
🔧 Programmierung

🔧 What is a String in JS? The JavaScript String Variable Explained


📈 18.66 Punkte
🔧 Programmierung

🔧 Remove From String in Python – How to Remove Characters from a String


📈 18.66 Punkte
🔧 Programmierung

🔧 Int to String in Java – How to Convert an Integer into a String


📈 18.66 Punkte
🔧 Programmierung

🔧 Return a Palindromic String after removing minimum length Prefix from given String


📈 18.66 Punkte
🔧 Programmierung

🔧 Kotlin String Templates vs. Java String Concatenation: A Tale of Two Strings (Where Kotlin Sings!)


📈 18.66 Punkte
🔧 Programmierung

🔧 Number of pairs of String whose concatenation leads to a Sorted string


📈 18.66 Punkte
🔧 Programmierung

🔧 string vs String


📈 18.66 Punkte
🔧 Programmierung

📰 Bash Shell: Replace a String With Another String In All Files Using sed and Perl -pie Options


📈 18.66 Punkte
🐧 Unix Server

🔧 'string' vs 'String': The Battle Between Primitive and Object Types in TypeScript


📈 18.66 Punkte
🔧 Programmierung

🕵️ Netgear R6700 up to 1.0.4.84_10.0.58 String Table File Upload format string


📈 18.66 Punkte
🕵️ Sicherheitslücken

🔧 String Operations


📈 17.77 Punkte
🔧 Programmierung

🔧 10. String Operations


📈 17.77 Punkte
🔧 Programmierung

🔧 String Operations


📈 17.77 Punkte
🔧 Programmierung

matomo