python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to replaceAll the numbers to Arabic or Persian
I'm using const to define changes and took me so long. How can I use them and how can I brief the codes?:
const [num0en, num1en, num2en, num3en, num4en, num5en, num6en, num7en, num8en, num9en, per...
mohsen haqiqat
Votes: 0
Answers: 2
replace exact null string either startswith dot charector . or endswith . dot charector or its not appended to any other string ,it should b separate
I was trying replace null , .null or null. string from below code snippet
static String str1="WTDocument: null ( 0000000043 ) A.1";
static String str2= "WTPart: null ( WHEEL_A1 )...
Dungeon Master
Votes: 0
Answers: 1
Replacing element inside a Collection by using regular expressions
I have a Collection of strings.
I need to replace some characters with given relevant characters.
I was tried this. But my code but doesn't work correctly.
public class MyPattern {
public static v...
Lorenz Hart
Votes: 0
Answers: 2
Java : Is it possible to replace map values with different ones each iteration?
Sorry, it was not clear enough.
So i'm trying to update, at each iteration, the values of my map (values).
I also want to store the last results of this map, in another map (lastIterValues), since i'm...
May
Votes: 0
Answers: 2