• λ我爱Aspx >> Asp.Net >> 将字符串中的数字和字符分离的技术例如(the9 city)分解成(the city)和9
  • 将字符串中的数字和字符分离的技术例如(the9 city)分解成(the city)和9

  • :aspxer  Դ:internet  :2007-5-31 2:20:02  ؼ:
  • 将字符串中的数字和字符分离的技术例如(the9 city)分解成(the city)和9

    string completeString = "the9 city";

    转换完成的字符串

    string stringVal = "the city";

    int numericVal = 9;

    aspx文件

    <%@ Page language="c#" Codebehind="StringParser.aspx.cs" AutoEventWireup="false" Inherits="HowTo._20020221.StringParser" %>

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >

    <HTML>

    <HEAD>

    <title>StringParser</title>

    <meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">

    <meta name="CODE_LANGUAGE" Content="C#">

    <meta name="vs_defaultClientScript" content="JavaScript">

    <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">

    Ҷƪл˵?
  • һƪLinkedQueue的实现
    һƪ呵呵,泼点儿凉水。