Diff
checker
टेक्स्ट
टेक्स्ट
छवियां
दस्तावेज़
Excel
फ़ोल्डर्स
Legal
Enterprise
डेस्कटॉप
मूल्य
साइन इन करें
Diffchecker डेस्कटॉप डाउनलोड करें
टेक्स्ट की तुलना करें
दो टेक्स्ट फ़ाइलों के बीच अंतर ढूंढें
उपकरण
इतिहास
रियल-टाइम एडिटर
रिक्त स्थान छिपाएँ
अपरिवर्तित संक्षिप्त करें
लाइन रैप बंद
लेआउट
विभाजित
संयुक्त
परिवर्तन हाइलाइट करें
स्मार्ट
शब्द
अक्षर
टेक्स्ट शैलियां
दिखावट बदलें
सिंटैक्स हाइलाइटिंग
सिंटैक्स चुनें
अनदेखा करें
टेक्स्ट बदलें
पहले अंतर पर जाएँ
इनपुट संपादित करें
Diffchecker Desktop
Diffchecker चलाने का सबसे सुरक्षित तरीका। Diffchecker Desktop ऐप पाएं: आपके diffs कभी आपके कंप्यूटर से बाहर नहीं जाते!
Desktop पाएं
Untitled diff
बनाया गया
11 वर्ष पहले
Diff कभी समाप्त नहीं होता
साफ़
निर्यात करें
शेयर करें
समझाएं
4 हटाए गए
लाइनें
कुल
हटाया गया
अक्षर
कुल
हटाया गया
इस सुविधा का उपयोग जारी रखने के लिए, अपग्रेड करें
Diff
checker
Pro
मूल्य देखें
39 लाइनें
सभी को कॉपी करें
6 जोड़े गए
लाइनें
कुल
जोड़ा गया
अक्षर
कुल
जोड़ा गया
इस सुविधा का उपयोग जारी रखने के लिए, अपग्रेड करें
Diff
checker
Pro
मूल्य देखें
41 लाइनें
सभी को कॉपी करें
static string insert(string text, string wort, int pos)
static string insert(string text, string wort, int pos)
{
{
if (pos == 0)
if (pos == 0)
{
{
return wort + " " + text;
return wort + " " + text;
}
}
string newtext = "";
string newtext = "";
int spacecount = 0;
int spacecount = 0;
bool inserted = false;
bool inserted = false;
for (int i = 0; i < text.Length; i++)
for (int i = 0; i < text.Length; i++)
{
{
newtext += text[i];
newtext += text[i];
if (inserted == false)
if (inserted == false)
{
{
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
if (pos > spacecount)
{
return wort + " " + text;
}
if (text[i] == ' ')
if (text[i] == ' ')
{
{
spacecount++;
spacecount++;
}
}
if (spacecount == pos)
if (spacecount == pos)
{
{
newtext += wort + " ";
newtext += wort + " ";
inserted = true;
inserted = true;
}
}
}
}
}
}
कॉपी
कॉपी हुआ
कॉपी
कॉपी हुआ
if (pos > spacecount)
{
return text + " " + wort;
}
return newtext;
return newtext;
}
}
सेव किए गए Diffs
ऑरिजनल टेक्स्ट
फ़ाइल खोलें
static string insert(string text, string wort, int pos) { if (pos == 0) { return wort + " " + text; } string newtext = ""; int spacecount = 0; bool inserted = false; for (int i = 0; i < text.Length; i++) { newtext += text[i]; if (inserted == false) { if (pos > spacecount) { return wort + " " + text; } if (text[i] == ' ') { spacecount++; } if (spacecount == pos) { newtext += wort + " "; inserted = true; } } } return newtext; }
परिवर्तित टेक्स्ट
फ़ाइल खोलें
static string insert(string text, string wort, int pos) { if (pos == 0) { return wort + " " + text; } string newtext = ""; int spacecount = 0; bool inserted = false; for (int i = 0; i < text.Length; i++) { newtext += text[i]; if (inserted == false) { if (text[i] == ' ') { spacecount++; } if (spacecount == pos) { newtext += wort + " "; inserted = true; } } } if (pos > spacecount) { return text + " " + wort; } return newtext; }
अंतर खोजें