Arrays

How can I delete a specific character from string???

Page 1 of 1

3 Replies - 588 Views - Last Post: 21 January 2010 - 09:08 AM Rate Topic: -----

#1 sobat  Icon User is offline

  • New D.I.C Head

Reputation: -7
  • View blog
  • Posts: 39
  • Joined: 21-January 10

Arrays

Post icon  Posted 21 January 2010 - 07:58 AM

How can I delete a specific character from string???
Is This A Good Question/Topic? 0
  • +

Replies To: Arrays

#2 RobC  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 16
  • Joined: 24-March 07

Re: Arrays

Posted 21 January 2010 - 08:09 AM

C'mon, you could give us more information, and an example string, before and after.
Also why do you use 'Array' in the subject ?
Was This Post Helpful? 0
  • +
  • -

#3 theblackmage  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 46
  • Joined: 21-January 10

Re: Arrays

Posted 21 January 2010 - 09:01 AM

use the mid function to isolate the characters you want to keep, then make them equal the string :^:
Was This Post Helpful? 0
  • +
  • -

#4 vb5prgrmr  Icon User is offline

  • D.I.C Lover

Reputation: 109
  • View blog
  • Posts: 1,016
  • Joined: 21-March 09

Re: Arrays

Posted 21 January 2010 - 09:08 AM

mage, mage, mage, ... an easier solution for removing a character from a string is the replace function...



Good Luck

This post has been edited by vb5prgrmr: 21 January 2010 - 09:09 AM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1