How To Prevent Pimples

If you’ve ever been faced with the annoying presence of pimples, you know just how much they can negatively impact your confidence and overall well-being. But fear not, because in this article, we will share simple yet effective ways to prevent those pesky pimples from making an unwelcome appearance on your face. From maintaining a consistent skincare routine to making mindful lifestyle choices, you’ll discover practical tips that will help you achieve clear and blemish-free skin. Say goodbye to pimples and hello to a radiant complexion!

How To Prevent Pimples

Maintain a Consistent Skincare Routine

Cleanse your face twice daily

Keeping your face clean is essential in preventing pimples. Make sure to cleanse your face twice a day, in the morning and before going to bed. Use a gentle cleanser that suits your skin type and lather it on your face in circular motions. Cleansing helps remove dirt, oil, and impurities that can clog your pores and lead to breakouts. Remember to rinse thoroughly with warm water and pat your face dry with a clean towel.

Exfoliate regularly

Exfoliation is another important step in maintaining a clear and pimple-free complexion. It helps to remove dead skin cells and unclog pores, allowing your skin to breathe. However, be careful not to over-exfoliate as it can irritate your skin and trigger more breakouts. Use a gentle exfoliant, such as a scrub or a chemical exfoliator, and follow the instructions on the product. Aim to exfoliate 1-2 times a week to keep your skin looking fresh and radiant.

Use non-comedogenic products

When choosing skincare and makeup products, opt for non-comedogenic ones. Non-comedogenic products are specially formulated to not clog pores and are less likely to cause acne breakouts. Look for this label on the packaging and make it a habit to read the ingredient list for any potential irritants or comedogenic ingredients. Using non-comedogenic products helps to ensure that you’re not adding any unnecessary oil or debris to your skin, reducing the risk of developing pimples.

Moisturize your skin

Contrary to popular belief, moisturizing is crucial in preventing pimples. When your skin is hydrated, it can better protect itself against acne-causing bacteria and inflammation. Look for a lightweight, oil-free moisturizer that suits your skin type and apply it daily after cleansing and exfoliating. Moisturizing is especially important if you have dry or combination skin, as lack of moisture can lead to increased sebum production and clogged pores.

Avoid touching your face excessively

Your hands come into contact with countless surfaces throughout the day, picking up dirt, bacteria, and oils. Touching your face frequently can transfer these impurities onto your skin, leading to the development of pimples. Make a conscious effort to avoid touching your face unnecessarily, especially if your hands are not clean. If you need to touch your face, ensure that your hands are newly washed or use a tissue as a barrier. By reducing facial contact, you minimize the risk of introducing acne-causing bacteria and contaminants to your skin.

Implement a Healthy Diet

Eat a balanced diet

The saying “you are what you eat” holds true when it comes to maintaining clear and healthy skin. Consuming a balanced diet that includes a variety of fruits, vegetables, whole grains, and lean proteins provides your body with the nutrients it needs to function optimally. Fill your plate with colorful fruits and vegetables that are rich in vitamins, minerals, and antioxidants. Incorporate lean proteins such as fish, chicken, or tofu, and include whole grains like quinoa or brown rice. By nourishing your body from within, you promote overall health, including healthier skin.

Avoid high glycemic index foods

High glycemic index (GI) foods, such as white bread, sugary treats, and processed snacks, can cause a spike in blood sugar levels. This spike triggers the release of insulin, which can lead to increased sebum production and inflammation, making your skin more prone to acne breakouts. Opt for low GI foods such as whole grains, legumes, and non-starchy vegetables. These foods are digested more slowly, resulting in a more stable blood sugar level and a reduced risk of developing pimples.

Stay hydrated

Drinking an adequate amount of water is essential for maintaining healthy skin. Hydration helps to flush out toxins from your body and keeps your skin moisturized from within. Aim to drink at least 8 glasses of water per day and more if you’re physically active or in hot weather. If you find it challenging to drink plain water, try infusing it with fresh fruits or herbs for added flavor. Remember that caffeinated and sugary beverages can contribute to dehydration, so consume them in moderation and opt for water as your primary choice of hydration.

Include foods rich in antioxidants

Antioxidants play a crucial role in keeping your skin healthy by neutralizing free radicals, reducing inflammation, and preventing damage caused by environmental factors. Incorporate antioxidant-rich foods into your diet, such as berries, leafy greens, nuts, and seeds. Additionally, foods high in vitamins A, C, and E, like citrus fruits, sweet potatoes, and avocados, can also support your skin’s health. By consuming these nutrient-dense foods regularly, you can improve your skin’s appearance and decrease the likelihood of developing pimples.

Limit dairy consumption

Although the relationship between dairy consumption and acne is still debated, some individuals find that reducing or eliminating dairy products from their diet helps improve their skin condition. Dairy products, particularly milk, contain hormones that may stimulate sebum production and lead to clogged pores. If you suspect that dairy is contributing to your breakouts, try reducing your intake or experimenting with dairy alternatives. Pay attention to any changes in your skin and consult a healthcare professional if necessary.

How To Prevent Pimples

Practice Good Hygiene Habits

Keep your hair clean

Your hair can accumulate oil, dirt, and product residue, which can transfer to your face and contribute to the development of pimples. Make it a habit to wash your hair regularly, especially if you have oily hair or use styling products. Use a gentle shampoo and conditioner that suits your hair type and avoid applying excessive amounts of hair products that contain oils or heavy ingredients. By keeping your hair clean, you reduce the chances of oils and debris transferring to your face and causing acne breakouts.

Avoid using hair products that contain oils

Certain hair products, such as pomades or heavy styling oils, can clog your pores if they come into contact with your skin. To prevent these products from causing breakouts, opt for oil-free or water-based hair products. Look for labels that indicate they are non-comedogenic and avoid using excessive amounts. Additionally, avoid applying hair products close to your forehead or hairline to minimize contact with your facial skin. It’s important to read the ingredient list carefully to ensure that the products you use are suitable for acne-prone skin.

Wash your pillowcases and sheets regularly

Your pillowcases and sheets can accumulate sweat, dead skin cells, and oils over time, creating an environment for bacteria to thrive. Sleeping on dirty bedding can lead to pore-clogging and increased chances of developing pimples. Be sure to wash your pillowcases and sheets weekly, using a fragrance-free detergent. Additionally, consider using a hypoallergenic laundry detergent to minimize any potential irritants that could affect your skin. By keeping your bedding clean, you’ll create a more hygienic sleeping environment, contributing to the prevention of pimples.

Avoid using dirty makeup brushes

Makeup brushes and sponges can harbor bacteria, oil, and residual makeup if not cleaned regularly. When you apply makeup with dirty brushes, you’re essentially transferring these impurities onto your skin, potentially causing breakouts. Clean your makeup brushes and sponges at least once a week using a gentle cleanser or a dedicated brush cleaner. Rinse thoroughly and allow them to air dry before using them again. It’s important to take the time to regularly clean your makeup tools to maintain their effectiveness and prevent any unwanted skin reactions.

Don’t share personal items

Sharing personal items, such as towels, washcloths, or makeup, can introduce bacteria and other contaminants to your skin. It’s important to avoid sharing these items, even with close friends or family members, as everyone’s skin has different needs and sensitivities. Keep your personal items separate and make sure that they are used exclusively by you. By maintaining personal hygiene and not sharing items, you minimize the risk of cross-contamination and potential acne breakouts.

Manage Stress Levels

Identify stress triggers

Stress can have a direct impact on your skin, as it can increase inflammation and hormone production, leading to acne flare-ups. Identifying your stress triggers is the first step in effectively managing your stress levels. Take note of situations, environments, or activities that tend to cause you stress or anxiety. Once you have a better understanding of your triggers, you can work towards minimizing their impact on your overall well-being and skin health.

Practice stress-reducing techniques

Implementing stress reduction techniques can help mitigate the negative effects of stress on your skin. Find activities or practices that help you relax and unwind, such as meditation, deep breathing exercises, yoga, or engaging in hobbies you enjoy. Taking breaks during busy periods, setting realistic goals, and practicing time management can also help reduce stress. Remember that finding what works for you may take some trial and error, so be patient with yourself and prioritize self-care.

Get enough sleep

Adequate sleep is essential for overall health, including maintaining healthy skin. During sleep, your body repairs and rejuvenates itself, including your skin. Lack of sleep can disrupt hormonal balance and increase inflammation, which can contribute to the development of pimples. Aim for 7-9 hours of quality sleep each night and establish a regular sleep schedule. Create a calming bedtime routine and avoid stimulating activities, screens, or caffeine close to bedtime. By prioritizing good sleep hygiene, you support your skin’s natural healing processes and reduce the likelihood of acne breakouts.

Engage in regular physical exercise

Regular physical exercise not only benefits your overall health but also contributes to healthy skin. Exercise improves blood circulation, which enhances the delivery of oxygen and nutrients to your skin cells, promoting a healthy complexion. Additionally, exercise helps to reduce stress levels, boost mood, and balance hormones, all of which can have a positive impact on your skin health. Aim for at least 30 minutes of moderate-intensity exercise most days of the week, and choose activities that you enjoy to make it a sustainable part of your routine.

Consider relaxation techniques

Incorporating relaxation techniques into your daily routine can further aid in managing stress and maintaining clear skin. Techniques such as deep breathing exercises, progressive muscle relaxation, or guided imagery can help promote a sense of calm and reduce stress levels. Find a technique that resonates with you and make it a habit to practice it regularly, especially during stressful situations. These techniques can serve as valuable tools in your acne prevention arsenal, supporting your overall well-being and skin health.

How To Prevent Pimples

Avoid Excessive Sun Exposure

Use sunscreen daily

Protecting your skin from harmful UV rays is crucial in preventing premature aging and reducing the risk of skin cancer. Apply a broad-spectrum sunscreen with an SPF of 30 or higher to all exposed areas of your skin, including your face, neck, and hands. Regardless of the weather or season, UV rays can still have damaging effects on your skin. Make it a habit to apply sunscreen daily, at least 15 minutes before sun exposure, and reapply every two hours or as directed on the product packaging.

Limit sun exposure during peak hours

UV rays are strongest between 10 am and 4 pm, so it’s important to limit your sun exposure during these peak hours. Seek shade whenever possible, whether it’s under an umbrella or a wide-brimmed hat. If you’re planning to be outdoors for an extended period, consider wearing protective clothing that covers your arms and legs. Remember that sunscreen should be used in conjunction with other sun protection measures to shield your skin from harmful UV radiation effectively.

Wear a wide-brimmed hat and sunglasses

When out in the sun, wearing a wide-brimmed hat and sunglasses can provide additional protection for your face and eyes. A wide-brimmed hat shades your face, neck, and ears from direct sunlight, reducing the risk of sunburn and long-term damage. Sunglasses that offer 100% UV protection help shield your eyes from harmful rays and reduce strain on your eyes. Look for sunglasses with a high UV protection rating and consider wearing them whenever you’re outdoors to protect the delicate skin around your eyes.

Seek shade whenever possible

While it’s important to get some sun exposure to maintain healthy levels of vitamin D, it’s equally crucial to seek shade whenever possible. Spending prolonged periods directly under the sun can increase the risk of sunburn, skin damage, and potentially trigger acne breakouts. Whether you’re at the beach or simply outdoors, take breaks in shaded areas to give your skin a rest from the sun’s intensity. Remember, even if you’re in the shade, UV rays can still reach you, so continue to practice sun protection measures.

Avoid tanning beds

Tanning beds emit harmful UV rays, which can damage your skin and increase the risk of skin cancer. In addition, tanning beds can exacerbate acne breakouts by stimulating sebum production and promoting inflammation. Avoid using tanning beds altogether and opt for safer alternatives such as self-tanners or bronzing lotions to achieve a sun-kissed glow. Embrace your natural skin tone and prioritize its health by avoiding harmful tanning practices.

Maintain a Healthy Lifestyle

Quit smoking

Besides its well-known detrimental effects on overall health, smoking can also contribute to the development of pimples and other skin issues. Smoking narrows the blood vessels in your skin, reducing blood flow and depriving your skin of essential nutrients and oxygen. This can result in a dull complexion and impaired skin healing. If you smoke, consider quitting or seeking professional help to quit smoking. By quitting smoking, you promote healthy skin regeneration and reduce the chances of developing acne breakouts.

Limit alcohol consumption

Excessive alcohol consumption can have adverse effects on your skin. Alcohol can dehydrate your body and impact your skin’s natural moisture balance, leading to dryness and dullness. It can also trigger inflammation and contribute to the breakdown of collagen, which is essential for maintaining the structure and elasticity of your skin. Moderation is key when consuming alcohol, and it’s advisable to limit your intake to moderate levels, which is defined as up to one drink per day for women and up to two drinks per day for men.

Avoid recreational drug use

Recreational drug use can have severe consequences for your overall health, including your skin. Drugs can disrupt hormonal balance, impair liver function, and increase inflammation, all of which can contribute to the development of pimples. It’s essential to prioritize your well-being by avoiding recreational drug use and seeking help if you’re struggling with substance abuse. By maintaining a drug-free lifestyle, you support not only your skin health but your overall physical and mental well-being.

Stay physically active

Maintaining an active lifestyle offers numerous benefits for your overall health, including your skin. Regular physical activity improves blood circulation, promoting the delivery of essential nutrients to your skin and supporting its overall health. Exercise also helps reduce stress levels, which can have a positive impact on your skin health. Find activities that you enjoy and try to incorporate at least 30 minutes of moderate-intensity exercise into your daily routine. By prioritizing physical activity, you enhance your skin’s vitality and contribute to a clearer complexion.

Get regular check-ups

Regular check-ups with healthcare professionals are important for overall health maintenance, including the prevention of pimples. Seeking regular medical advice and screenings allows healthcare professionals to identify and address any underlying health conditions that may affect your skin. They can also provide personalized guidance and recommendations based on your unique needs. Make it a habit to schedule routine check-ups with your primary care physician or dermatologist, especially if you have concerns about your skin.

How To Prevent Pimples

Keep Your Face Clean

Wash your face gently

When cleansing your face, it’s crucial to do so gently to avoid irritation and damage to your skin. Use lukewarm water and a gentle cleanser that is suited for your skin type. Avoid using harsh cleansers or scrubbing your face vigorously, as this can strip your skin of its natural oils and lead to dryness, inflammation, and even more breakouts. Instead, use your fingertips or a soft washcloth to cleanse your face in light circular motions. Rinse thoroughly and pat your skin dry with a clean towel.

Use a suitable cleanser

Choosing the right cleanser for your skin type is essential in maintaining a clear complexion. If you have oily or acne-prone skin, opt for a cleanser that contains ingredients such as salicylic acid or benzoyl peroxide to help target excess oil and bacteria. For dry or sensitive skin, look for a gentle, hydrating cleanser that won’t disrupt your skin’s moisture barrier. Avoid cleansers with harsh chemicals or fragrances that can potentially irritate your skin. Understanding your skin’s specific needs will help you select the most suitable cleanser for your routine.

Avoid scrubbing too hard

Scrubbing your face too vigorously can damage your skin’s delicate barrier, leading to irritation, redness, and a higher chance of developing pimples. Instead, practice gentle exfoliation with a soft washcloth or a gentle exfoliant product. Focus on problem areas or areas that tend to be more prone to clogged pores, such as the T-zone. Be patient and don’t rush the process, allowing the cleanser or exfoliant to work on your skin without excessive scrubbing. By being gentle, you ensure that your skin remains healthy and free from unnecessary irritation.

Pat your face dry

After cleansing your face, it’s essential to pat your skin dry instead of rubbing it with a towel. Rubbing can cause friction and irritation, leading to inflammation, and potentially worsening acne breakouts. Instead, gently press a clean, soft towel against your skin to absorb the excess moisture. Avoid harsh movements or tugging on your skin, as this can disrupt its natural balance. By patting your face dry, you help to maintain its integrity and prevent any unnecessary skin damage.

Avoid aggressive scrubbing

While exfoliating can be beneficial for removing dead skin cells and unclogging pores, it’s important not to scrub too aggressively. Excessive or harsh scrubbing can lead to micro-tears in your skin, which can trigger inflammation and potentially worsen acne breakouts. Choose a gentle exfoliant product and follow the instructions on how to use it properly. It’s recommended to exfoliate no more than 1-2 times a week, depending on your skin’s sensitivity. By being mindful of your exfoliation routine, you can promote healthier, clearer skin.

Avoid Picking or Popping Pimples

Don’t pick at your skin

Resist the urge to pick at your skin, as tempting as it may be. Picking at pimples can introduce more bacteria and irritants to your skin, leading to further inflammation, scarring, and delayed healing. This can prolong the lifespan of a pimple and potentially cause more breakouts. Instead, be patient and let the pimple come to a natural head or consider seeking appropriate treatments to address it. By avoiding picking, you’re giving your skin the best chance to heal and prevent further complications.

Avoid popping pimples

Popping pimples is not recommended as it can cause more harm than good. When you squeeze or pop a pimple, you risk pushing the bacteria further into your skin, increasing inflammation, and potentially causing an infection. Additionally, popping pimples can lead to scarring, dark spots, or even permanent pits in the skin. If you’re worried about the appearance of a pimple, consider using topical acne treatments or consult a dermatologist to discuss appropriate solutions. It’s best to let the pimple run its course naturally and focus on preventing future breakouts instead.

Use topical treatments instead

Instead of picking or popping pimples, use topical treatments specifically designed to address acne. Look for over-the-counter products that contain ingredients such as benzoyl peroxide, salicylic acid, or sulfur. These ingredients can help reduce inflammation, unclog pores, and kill acne-causing bacteria. Be patient with these treatments, as they may take some time to show results. Follow the instructions provided and apply only to the affected areas. Don’t overuse or apply excessive amounts, as this can cause dryness and irritation.

Applying a warm compress

If you’re dealing with a particularly stubborn pimple, applying a warm compress can help to promote healing and reduce inflammation. Soak a clean washcloth in warm water, wring out the excess, and gently press it onto the pimple for a few minutes. The warmth helps to open up the pores, allowing for better penetration of treatment products and encouraging the pimple to come to a head naturally. Remember to be gentle and avoid scrubbing or squeezing the pimple after applying the warm compress.

Consult a dermatologist

If you’re struggling with persistent or severe acne, it’s best to seek professional assistance from a dermatologist. They can evaluate your skin condition, identify the underlying causes of your acne, and provide personalized treatment options. A dermatologist may recommend prescription medications, topical treatments, or other procedures such as extractions, chemical peels, or laser therapy. Professional guidance can help you effectively manage your acne and develop a treatment plan that addresses your specific needs.

How To Prevent Pimples

Manage Hormonal Changes

Maintain a regular sleep schedule

Hormonal changes can often contribute to acne breakouts, and maintaining a regular sleep schedule can help regulate your hormone levels. Aim for consistent bedtimes and wake-up times, even on weekends, to establish a healthy sleep routine. Consistency in your sleep patterns allows your body to maintain balanced hormone levels, reducing the risk of hormonal acne flare-ups. By prioritizing quality sleep and maintaining a regular sleep schedule, you support overall hormonal balance and contribute to clearer skin.

Avoid stress

Stress triggers the release of hormones like cortisol, which can impact sebum production and inflammation, ultimately leading to acne breakouts. By actively managing your stress levels, you can minimize its impact on your skin. Incorporate stress-reducing practices into your daily routine, such as mindfulness meditation, deep breathing exercises, or engaging in activities you enjoy. Find healthy outlets to manage stress, such as exercise, hobbies, or spending time with loved ones. By reducing stress, you support balanced hormone levels and promote healthier skin.

Exercise regularly

Regular physical exercise is beneficial not only for your overall health but also for managing hormonal changes that can contribute to acne breakouts. Exercise helps to regulate hormone levels, reduce stress, and improve blood circulation, promoting healthier skin. Aim for at least 30 minutes of moderate-intensity exercise most days of the week. Engage in activities that you enjoy, whether it’s jogging, dancing, swimming, or practicing yoga. By incorporating regular exercise into your routine, you reduce the impact of hormonal fluctuations on your skin.

Consider hormonal birth control

For individuals whose acne is primarily influenced by hormonal fluctuations, hormonal birth control may be a viable option. Some forms of hormonal birth control can help regulate hormone levels and reduce sebum production, resulting in fewer acne breakouts. However, it’s crucial to consult a healthcare professional to determine whether hormonal birth control is suitable for your specific needs. They can help identify the most appropriate type and guide you on the potential benefits and risks associated with hormonal birth control.

Consult a healthcare professional

If you’re experiencing persistent or severe acne due to hormonal changes, consulting a healthcare professional is essential. They can evaluate your hormonal balance, identify any underlying hormonal imbalances or conditions, and provide appropriate treatments or referrals. A healthcare professional may recommend hormonal therapies, such as oral contraceptives or anti-androgen medications, to help manage hormonal acne. By seeking professional assistance, you can address the root causes of hormonal acne and find effective solutions tailored to your individual needs.

Seek Professional Assistance

Visit a dermatologist

When over-the-counter treatments and lifestyle changes are not effectively controlling your acne, it may be time to seek professional assistance. Visiting a dermatologist is recommended, especially if you have severe or persistent acne. A dermatologist can diagnose the underlying causes of your acne, determine the appropriate treatment plan, and guide you on skincare routines and products that best suit your skin type. They may also offer in-office procedures, such as extractions, chemical peels, or laser therapy, to address your specific needs.

Discuss potential medications

If your acne does not respond to over-the-counter treatments or lifestyle changes, a dermatologist may recommend prescription medications. Medications such as topical retinoids, antibiotics, or oral contraceptives can help manage acne by reducing inflammation, fighting bacteria, or regulating hormone levels. It’s crucial to discuss potential side effects, usage instructions, and any precautions with your dermatologist before starting any medication. They will monitor your progress and adjust the treatment plan as necessary to ensure optimal results.

Explore professional acne treatments

In addition to medication, a dermatologist may recommend professional acne treatments to target stubborn or severe acne. These treatments can include chemical peels, microdermabrasion, or extractions performed by a trained professional. These procedures can effectively deep-cleanse your pores, remove dead skin cells, and promote skin rejuvenation. Discuss with your dermatologist which treatment options are suitable for your specific acne condition and skin type.

Consider laser or light therapy

For individuals with resistant or severe acne, laser or light therapy may be an option worth considering. These treatments work by targeting the bacteria that cause acne, reducing inflammation, and stimulating collagen production. Laser and light therapy treatments are typically performed in a dermatologist’s office and require multiple sessions for optimal results. Your dermatologist can assess whether you’re a suitable candidate for these procedures and guide you on the potential benefits and risks.

Discuss hormonal treatments

If hormonal imbalances are the primary cause of your acne, a dermatologist or healthcare professional may recommend hormonal treatments. These treatments can help regulate hormone levels and manage hormonal acne. Options may include oral contraceptives, anti-androgens, or other hormonal therapies. It’s important to discuss the potential benefits, risks, and any necessary precautions with your healthcare provider before starting any hormonal treatments. Regular monitoring and follow-ups will ensure that the treatment is effective and well-suited for your needs.

By following these comprehensive guidelines, you can proactively prevent pimples and maintain clearer, healthier skin. Remember that consistency is key and that each person’s skin is unique, so it’s essential to customize these practices to fit your skin’s specific needs. Feel free to consult with dermatologists and healthcare professionals for personalized advice and treatments to address any concerns you may have. With determination, patience, and a commitment to self-care, you can achieve the healthy, glowing complexion you desire.

'); var maf_after_2nd_p_data = maf_decode_string(''); var maf_after_3rd_p_data = maf_decode_string(''); var maf_after_4th_p_data = maf_decode_string(''); var maf_after_5th_p_data = maf_decode_string(''); var maf_after_6th_p_data = maf_decode_string(''); var maf_after_7th_p_data = maf_decode_string(''); var maf_after_8th_p_data = maf_decode_string(''); var maf_after_9th_p_data = maf_decode_string(''); var maf_after_10th_p_data = maf_decode_string(''); var maf_after_every_p_data = maf_decode_string(''); var maf_after_last_p_data = maf_decode_string('\"\"'); } $(document).ready(function(){ if(maf_header_data.trim() !== ''){ $($('header')[0]).append(maf_header_data); } if(maf_below_header_data.trim() !== ''){ $($('header')[0]).after(maf_below_header_data); } if(maf_above_header_data.trim() !== ''){ $($('header')[0]).before(maf_above_header_data); } if(maf_footer_data.trim() !== ''){ $($('footer')[0]).append(maf_footer_data); } if(maf_after_footer_data.trim() !== ''){ $($('footer')[0]).after(maf_after_footer_data); } if(maf_above_footer_data.trim() !== ''){ $($('footer')[0]).before(maf_above_footer_data); } if(maf_above_post_title_data.trim() !== ''){ $($('.entry-title')[0]).before(maf_above_post_title_data); } if(maf_below_post_title_data.trim() !== ''){ $($('.entry-title')[0]).after(maf_below_post_title_data); } if(typeof $(all_p)[0] !== typeof undefined && maf_after_1st_p_data.trim() !== ''){ $($(all_p)[0]).append(maf_after_1st_p_data); } if(typeof $(all_p)[1] !== typeof undefined && maf_after_2nd_p_data.trim() !== ''){ $($(all_p)[1]).append(maf_after_2nd_p_data); } if(typeof $(all_p)[2] !== typeof undefined && maf_after_3rd_p_data.trim() !== ''){ $($(all_p)[2]).append(maf_after_3rd_p_data); } if(typeof $(all_p)[3] !== typeof undefined && maf_after_4th_p_data.trim() !== ''){ $($(all_p)[3]).append(maf_after_4th_p_data); } if(typeof $(all_p)[4] !== typeof undefined && maf_after_5th_p_data.trim() !== ''){ $($(all_p)[4]).append(maf_after_5th_p_data); } if(typeof $(all_p)[5] !== typeof undefined && maf_after_6th_p_data.trim() !== ''){ $($(all_p)[5]).append(maf_after_6th_p_data); } if(typeof $(all_p)[6] !== typeof undefined && maf_after_7th_p_data.trim() !== ''){ $($(all_p)[6]).append(maf_after_7th_p_data); } if(typeof $(all_p)[7] !== typeof undefined && maf_after_8th_p_data.trim() !== ''){ $($(all_p)[7]).append(maf_after_8th_p_data); } if(typeof $(all_p)[8] !== typeof undefined && maf_after_9th_p_data.trim() !== ''){ $($(all_p)[8]).append(maf_after_9th_p_data); } if(typeof $(all_p)[9] !== typeof undefined && maf_after_10th_p_data.trim() !== ''){ $($(all_p)[9]).append(maf_after_10th_p_data); } $(all_p).each(function(i,v){ if(maf_after_every_p_data.trim() !== ''){ $(v).append(maf_after_every_p_data); } }); if(typeof $(all_p).last() !== typeof undefined && typeof maf_after_last_p_data !== typeof undefined && maf_after_last_p_data.trim() !== ''){ $($(all_p).last()[0]).append(maf_after_last_p_data); } }); function maf_decode_string(str){ str = str.replace('\'',"'"); str = str.replace('\"','"'); return str; }