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

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -