• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 154
  • Last Modified:

perl functions

anyone know the perl functions to do:
1.tell the amount of characters in a variable
2.insert a char into a string and not write over any chars in that string
ie $string = "hello"
and $string becomes "he3llo"
 
0
boofulls
Asked:
boofulls
1 Solution
 
ozoCommented:
1. length $string
2. substr($string,2,0)="3";
0

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now