javascript - Java: ReplaceAll String with another string -


इस सवाल का पहले से ही एक उत्तर है: < / P>

  • 8 जवाब

मैं अपेक्षाकृत नया हूँ यह ...

मैं प्रतिस्थापन करने की कोशिश कर रहा हूं जो कि संख्यात्मक मान के साथ एक स्ट्रिंग में "PRICING" के सभी उदाहरणों को बदल देगा जो कि एक चर है: PRICE

  सदस्यता = सदस्यता। स्थान ("PRICING", PRICE);  

नीचे मुझे जो त्रुटि मिलती है।

  विधि आवंजन में त्रुटि: विधि प्रतिस्थापित सभी (java.lang.String, double) class_java में नहीं मिला .lang.String ' 

आपकी मदद के लिए धन्यवाद

कोशिश करो यह:

<पूर्व> सदस्यता = सदस्यता: स्थानापन्न सभी ("PRICING", String.valueOf (PRICE));

Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -